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:
parent
e21b620bf6
commit
58e42c6ca9
7 changed files with 64 additions and 51 deletions
|
@ -79,7 +79,7 @@
|
|||
HANDLES_EVENT(USB_DeviceEnumerationFailed);
|
||||
|
||||
/* Function Prototypes: */
|
||||
void ShowDiskReadError(char* CommandString, uint8_t ErrorCode);
|
||||
void ShowDiskReadError(char* CommandString, bool FailedAtSCSILayer, uint8_t ErrorCode);
|
||||
void UpdateStatus(uint8_t CurrentStatus);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue