Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.

Fix additional warnings under GCC 4.6.
This commit is contained in:
Dean Camera 2011-10-09 13:14:53 +00:00
parent 68e777e16b
commit c9e817ff47
6 changed files with 10 additions and 9 deletions

View file

@ -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)

View file

@ -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