mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Simplify how PS3 printStatusString prints the string
This commit is contained in:
parent
0378d35ee8
commit
a042e5a849
2 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue