diff options
Diffstat (limited to 'protocol/usb_hid/parser.cpp')
-rw-r--r-- | protocol/usb_hid/parser.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/protocol/usb_hid/parser.cpp b/protocol/usb_hid/parser.cpp index cf64322302..b03af8ae41 100644 --- a/protocol/usb_hid/parser.cpp +++ b/protocol/usb_hid/parser.cpp @@ -1,15 +1,14 @@ #include "parser.h" +#include "leonardo_led.h" +#include "debug.h" void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf) { - PORTB ^= (1<<0); -/* - Serial.print("KBDReport: "); + LED_TX_TOGGLE; + debug("KBDReport: "); for (uint8_t i = 0; i < len; i++) { - PrintHex<uint8_t>(buf[i]); - Serial.print(" "); + debug_hex(buf[i]); + debug(" "); } - Serial.print("\r\n"); -*/ - //PORTC &= ~(1<<7); + debug("\r\n"); } |