mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Add const to char* (fixes warnings)
This commit is contained in:
parent
8c89442590
commit
ae3e6ca74b
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void XBOXRECV::readReport(uint8_t controller) {
|
||||||
#endif
|
#endif
|
||||||
if (Xbox360Connected[controller]) {
|
if (Xbox360Connected[controller]) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
char* str = 0;
|
const char* str = 0;
|
||||||
switch (readBuf[1]) {
|
switch (readBuf[1]) {
|
||||||
case 0x80: str = PSTR(" as controller\r\n");
|
case 0x80: str = PSTR(" as controller\r\n");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue