Skip to content

Commit

Permalink
Simplify how PS3 printStatusString prints the string
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauszus committed Mar 7, 2014
1 parent 0378d35 commit a042e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PS3BT.cpp
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion PS3USB.cpp
Expand Up @@ -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 */
Expand Down

0 comments on commit a042e5a

Please sign in to comment.