diff --git a/PS3BT.cpp b/PS3BT.cpp index 80b6dc3f..38d6c3dc 100644 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -201,7 +201,7 @@ void PS3BT::printStatusString() { } else strcpy_P(statusOutput, PSTR("Error")); - USB_HOST_SERIAL.write((uint8_t*)statusOutput, strlen(statusOutput)); + USB_HOST_SERIAL.write(statusOutput); } void PS3BT::Reset() { diff --git a/PS3USB.cpp b/PS3USB.cpp index fa865495..7e6285a2 100644 --- a/PS3USB.cpp +++ b/PS3USB.cpp @@ -392,7 +392,7 @@ void PS3USB::printStatusString() { } else 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 */