From 58e42c6ca92c4e6181967f83e40d9dea1ea48259 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 26 Apr 2009 10:29:59 +0000 Subject: 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(). --- Demos/Device/MassStorage/SCSI.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Device/MassStorage') 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; -- cgit v1.2.3