usb_hid: Fix timer size uint16_t to uint32_t;
This commit is contained in:
parent
b17f52ebe1
commit
c77c5043a1
8 changed files with 66 additions and 17 deletions
|
@ -3,7 +3,6 @@
|
|||
#include "parser.h"
|
||||
#include "usb_hid.h"
|
||||
|
||||
#include "leonardo_led.h"
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
|
@ -16,9 +15,9 @@ void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
|
|||
::memcpy(&usb_hid_keyboard_report, buf, sizeof(report_keyboard_t));
|
||||
usb_hid_time_stamp = millis();
|
||||
|
||||
LED_TX_TOGGLE;
|
||||
debug("KBDReport: ");
|
||||
debug_hex(usb_hid_keyboard_report.mods);
|
||||
debug(" --");
|
||||
for (uint8_t i = 0; i < 6; i++) {
|
||||
debug(" ");
|
||||
debug_hex(usb_hid_keyboard_report.keys[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue