Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Change debug output from decimal to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
gedankenexperimenter committed Mar 14, 2019
1 parent 6c2ed82 commit f84017d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BootKeyboard/BootKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ int BootKeyboard_::sendReport(void) {
Serial.print(F("sending boot report: "));
for (byte i{0}; i < 8; ++i) {
Serial.print(F(" "));
Serial.print(int(_keyReport.bytes[i]));
Serial.print(_keyReport.bytes[i], HEX);
}
Serial.println();
// if the two reports are different, send a report
Expand Down
2 changes: 1 addition & 1 deletion src/MultiReport/Keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ int Keyboard_::sendReportUnchecked(void) {
Serial.print(F("sending nkro report:"));
for (byte i{0}; i < 29; ++i) {
Serial.print(F(" "));
Serial.print(int(keyReport.allkeys[i]));
Serial.print(keyReport.allkeys[i], HEX);
}
Serial.println();
return HID().SendReport(HID_REPORTID_NKRO_KEYBOARD, &keyReport, sizeof(keyReport));
Expand Down

0 comments on commit f84017d

Please sign in to comment.