diff options
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.c')
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.c b/cmd/sbc_harness/usb_keyboard.c index fc273eb..dcd4465 100644 --- a/cmd/sbc_harness/usb_keyboard.c +++ b/cmd/sbc_harness/usb_keyboard.c @@ -85,12 +85,12 @@ COROUTINE usb_keyboard_cr(void *_chan) { * ยง6.2.2 "Report Descriptor") for the given index. */ uint8_t const *tud_hid_descriptor_report_cb(uint8_t index) { - static uint8_t const *reports[] = { - hid_report_descriptor_keyboard, - }; - if (index >= TU_ARRAY_SIZE(reports)) - return NULL; - return reports[index]; + static uint8_t const *reports[] = { + hid_report_descriptor_keyboard, + }; + if (index >= TU_ARRAY_SIZE(reports)) + return NULL; + return reports[index]; } uint16_t tud_hid_get_report_cb(uint8_t LM_UNUSED(instance), |