aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/StillImageHost
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/StillImageHost
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/StillImageHost')
-rw-r--r--Demos/Host/LowLevel/StillImageHost/StillImageHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/StillImageHost/StillImageHost.c b/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
index d2eecb403..51f62016d 100644
--- a/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
+++ b/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
@@ -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);