diff options
Diffstat (limited to 'chip/stm32')
-rw-r--r-- | chip/stm32/usb_dwc.c | 3 | ||||
-rw-r--r-- | chip/stm32/usb_hid_keyboard.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/chip/stm32/usb_dwc.c b/chip/stm32/usb_dwc.c index 49554c8cb6..eef2424842 100644 --- a/chip/stm32/usb_dwc.c +++ b/chip/stm32/usb_dwc.c @@ -232,7 +232,8 @@ int usb_write_ep(uint32_t ep_num, int len, void *data) struct dwc_usb_ep *ep = usb_ctl.ep[ep_num]; if (GR_USB_DIEPCTL(ep_num) & DXEPCTL_EPENA) { - CPRINTS("usb_write_ep ep%d: FAIL: tx already in progress!"); + CPRINTS("usb_write_ep ep%d: FAIL: tx already in progress!", + ep_num); return 0; } diff --git a/chip/stm32/usb_hid_keyboard.c b/chip/stm32/usb_hid_keyboard.c index 9503e99c1e..c6d6fb3292 100644 --- a/chip/stm32/usb_hid_keyboard.c +++ b/chip/stm32/usb_hid_keyboard.c @@ -543,8 +543,8 @@ static void keyboard_process_queue(void) while (queue_count(&key_queue) > 0) { queue_peek_units(&key_queue, &ev, 0, 1); if (keyboard_debug) - CPRINTF(" =%02x/%d %d %d\n", ev.keycode, ev.pressed, - ev.time - now); + CPRINTF(" =%02x/%d %d %d\n", ev.keycode, ev.keycode, + ev.pressed, ev.time - now); if ((now - ev.time) <= KEY_DISCARD_MAX_TIME && (ev.time - first_key_time) >= COALESCE_INTERVAL) |