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:
parent
68e777e16b
commit
c9e817ff47
6 changed files with 10 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue