diff options
| author | dean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-12-23 01:51:39 +0000 |
|---|---|---|
| committer | dean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-12-23 01:51:39 +0000 |
| commit | 9b0c63fa0a32478a8f5bdd90a9ab4a23a19cb1f0 (patch) | |
| tree | 9f38b5271f3a5ff10083f4f3e27598ced92efe11 /Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib | |
| parent | d5f67c6637f24c2c640d3c067ba74906ad791420 (diff) | |
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib')
| -rw-r--r-- | Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c index 66b58a12..fb467390 100644 --- a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c +++ b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c @@ -287,7 +287,7 @@ static bool SCSI_Command_ReadWrite_10(USB_ClassInfo_MS_Device_t* const MSInterfa SCSI_ASENSE_WRITE_PROTECTED, SCSI_ASENSEQ_NO_QUALIFIER); - return false; + return false; } /* Load in the 32-bit block address (SCSI uses big-endian, so have to reverse the byte order) */ @@ -311,7 +311,7 @@ static bool SCSI_Command_ReadWrite_10(USB_ClassInfo_MS_Device_t* const MSInterfa /* Adjust the given block address to the real media address based on the selected LUN */ BlockAddress += ((uint32_t)MSInterfaceInfo->State.CommandBlock.LUN * LUN_MEDIA_BLOCKS); #endif - + /* Determine if the packet is a READ (10) or WRITE (10) command, call appropriate function */ if (IsDataRead == DATA_READ) DataflashManager_ReadBlocks(MSInterfaceInfo, BlockAddress, TotalBlocks); @@ -345,3 +345,4 @@ static bool SCSI_Command_ModeSense_6(USB_ClassInfo_MS_Device_t* const MSInterfac return true; } + |
