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/LowLevel/MassStorage/Lib/SCSI.c | |
| 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/LowLevel/MassStorage/Lib/SCSI.c')
| -rw-r--r-- | Demos/Device/LowLevel/MassStorage/Lib/SCSI.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/MassStorage/Lib/SCSI.c b/Demos/Device/LowLevel/MassStorage/Lib/SCSI.c index 43267861..0fd62c03 100644 --- a/Demos/Device/LowLevel/MassStorage/Lib/SCSI.c +++ b/Demos/Device/LowLevel/MassStorage/Lib/SCSI.c @@ -287,12 +287,12 @@ static bool SCSI_Command_ReadWrite_10(const bool IsDataRead) SCSI_ASENSE_WRITE_PROTECTED, SCSI_ASENSEQ_NO_QUALIFIER); - return false; + return false; } BlockAddress = SwapEndian_32(*(uint32_t*)&CommandBlock.SCSICommandData[2]); TotalBlocks = SwapEndian_16(*(uint16_t*)&CommandBlock.SCSICommandData[7]); - + /* Check if the block address is outside the maximum allowable value for the LUN */ if (BlockAddress >= LUN_MEDIA_BLOCKS) { @@ -340,3 +340,4 @@ static bool SCSI_Command_ModeSense_6(void) return true; } + |
