From ae3e6ca74b8e46eedd9c1834d1cdb09eea390bb0 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Wed, 29 May 2013 10:46:53 -0700 Subject: [PATCH] Add const to char* (fixes warnings) --- XBOXRECV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XBOXRECV.cpp b/XBOXRECV.cpp index 4087519f..3706b1ea 100644 --- a/XBOXRECV.cpp +++ b/XBOXRECV.cpp @@ -302,7 +302,7 @@ void XBOXRECV::readReport(uint8_t controller) { #endif if (Xbox360Connected[controller]) { #ifdef DEBUG - char* str = 0; + const char* str = 0; switch (readBuf[1]) { case 0x80: str = PSTR(" as controller\r\n"); break;