aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MassStorageHost
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-10-09 13:14:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-10-09 13:14:53 +0000
commitc9e817ff478b94b5bae4b853f913cc32d9c94a19 (patch)
tree46c9d5000fdde239763fdfd4d4ebb4c697986d6a /Demos/Host/LowLevel/MassStorageHost
parent68e777e16bd252c90d300c02ae88ff27b2fdb70d (diff)
downloadlufa-c9e817ff478b94b5bae4b853f913cc32d9c94a19.tar.gz
lufa-c9e817ff478b94b5bae4b853f913cc32d9c94a19.tar.bz2
lufa-c9e817ff478b94b5bae4b853f913cc32d9c94a19.zip
Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
Fix additional warnings under GCC 4.6.
Diffstat (limited to 'Demos/Host/LowLevel/MassStorageHost')
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c2
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
index a1d39cbb3..d20663104 100644
--- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
+++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
@@ -348,7 +348,7 @@ void MassStorageHost_Task(void)
* \param[in] CommandString ASCII string located in PROGMEM space indicating what operation failed
* \param[in] ErrorCode Error code of the function which failed to complete successfully
*/
-void ShowDiskReadError(char* CommandString,
+void ShowDiskReadError(const char* CommandString,
const uint8_t ErrorCode)
{
if (ErrorCode == MASS_STORE_SCSI_COMMAND_FAILED)
diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
index 0aec46fd0..3f4ae07ed 100644
--- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
+++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
@@ -84,7 +84,7 @@
const uint8_t SubErrorCode);
void EVENT_USB_Host_DeviceEnumerationComplete(void);
- void ShowDiskReadError(char* CommandString,
+ void ShowDiskReadError(const char* CommandString,
const uint8_t ErrorCode);
#endif