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().
This commit is contained in:
Dean Camera 2009-04-26 10:29:59 +00:00
parent e21b620bf6
commit 58e42c6ca9
7 changed files with 64 additions and 51 deletions

View file

@ -109,10 +109,9 @@
*/
typedef struct
{
unsigned char ReponseCode : 7;
unsigned char Valid : 1;
uint8_t SegmentNumber;
uint8_t ReponseCode;
uint8_t SegmentNumber;
unsigned char SenseKey : 4;
unsigned char _RESERVED1 : 1;