Simplify how PS3 printStatusString prints the string

This commit is contained in:
Kristian Lauszus 2014-03-07 02:12:39 +01:00
parent 0378d35ee8
commit a042e5a849
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ void PS3BT::printStatusString() {
} else } else
strcpy_P(statusOutput, PSTR("Error")); strcpy_P(statusOutput, PSTR("Error"));
USB_HOST_SERIAL.write((uint8_t*)statusOutput, strlen(statusOutput)); USB_HOST_SERIAL.write(statusOutput);
} }
void PS3BT::Reset() { void PS3BT::Reset() {

View file

@ -392,7 +392,7 @@ void PS3USB::printStatusString() {
} else } else
strcpy_P(statusOutput, PSTR("Error")); strcpy_P(statusOutput, PSTR("Error"));
USB_HOST_SERIAL.write((uint8_t*)statusOutput, strlen(statusOutput)); USB_HOST_SERIAL.write(statusOutput);
} }
/* Playstation Sixaxis Dualshock and Navigation Controller commands */ /* Playstation Sixaxis Dualshock and Navigation Controller commands */