aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/MassStorageHost/MassStorageHost.h
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/Host/MassStorageHost/MassStorageHost.h
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/Host/MassStorageHost/MassStorageHost.h')
-rw-r--r--Demos/Host/MassStorageHost/MassStorageHost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/MassStorageHost/MassStorageHost.h b/Demos/Host/MassStorageHost/MassStorageHost.h
index ab5fcb22a..d4b9947bb 100644
--- a/Demos/Host/MassStorageHost/MassStorageHost.h
+++ b/Demos/Host/MassStorageHost/MassStorageHost.h
@@ -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