diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/sbc_harness/fs_harness_flash_bin.c | 2 | ||||
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/cmd/sbc_harness/fs_harness_flash_bin.c b/cmd/sbc_harness/fs_harness_flash_bin.c index 3c3fa16..5e6f49c 100644 --- a/cmd/sbc_harness/fs_harness_flash_bin.c +++ b/cmd/sbc_harness/fs_harness_flash_bin.c @@ -166,7 +166,7 @@ static struct lib9p_srv_stat flash_file_stat(struct flash_file *self, struct lib }; } static void flash_file_wstat(struct flash_file *self, struct lib9p_srv_ctx *ctx, - struct lib9p_srv_stat) { + struct lib9p_srv_stat) { assert(self); assert(ctx); 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), |