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

@ -353,7 +353,7 @@ void UnicodeToASCII(uint8_t* UnicodeString,
void ShowCommandError(uint8_t ErrorCode,
bool ResponseCodeError)
{
char* FailureType = ((ResponseCodeError) ? PSTR("Response Code != OK") : PSTR("Transaction Fail"));
const char* FailureType = ((ResponseCodeError) ? PSTR("Response Code != OK") : PSTR("Transaction Fail"));
printf_P(PSTR(ESC_FG_RED "Command Error (%S).\r\n"
" -- Error Code %d\r\n" ESC_FG_WHITE), FailureType, ErrorCode);