Add const to char* (fixes warnings)

This commit is contained in:
PaulStoffregen 2013-05-29 10:46:53 -07:00
parent 8c89442590
commit ae3e6ca74b

View file

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