aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/MassStorage
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-26 10:29:59 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-26 10:29:59 +0000
commit58e42c6ca92c4e6181967f83e40d9dea1ea48259 (patch)
tree39e9480b161df1d10878df0b21a336813cec3347 /Demos/Device/MassStorage
parente21b620bf6cc9fb1bb9e516efb57b1cb12c00085 (diff)
downloadlufa-58e42c6ca92c4e6181967f83e40d9dea1ea48259.tar.gz
lufa-58e42c6ca92c4e6181967f83e40d9dea1ea48259.tar.bz2
lufa-58e42c6ca92c4e6181967f83e40d9dea1ea48259.zip
Fixed SPI driver init function not clearing SPI2X bit when not needed.
Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex). Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus().
Diffstat (limited to 'Demos/Device/MassStorage')
-rw-r--r--Demos/Device/MassStorage/SCSI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/MassStorage/SCSI.h b/Demos/Device/MassStorage/SCSI.h
index 158b7ed2d..d7693cafb 100644
--- a/Demos/Device/MassStorage/SCSI.h
+++ b/Demos/Device/MassStorage/SCSI.h
@@ -116,9 +116,9 @@
*/
typedef struct
{
- uint8_t ResponseCode;
+ uint8_t ResponseCode;
- uint8_t SegmentNumber;
+ uint8_t SegmentNumber;
unsigned char SenseKey : 4;
unsigned char _RESERVED1 : 1;