diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 12:43:02 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 13:10:56 -0600 |
commit | ef72481ffee3403dc50e93b5686c30ed841e0257 (patch) | |
tree | 2807dcdd0d13ba074b30a8ea9afd9c7ee4383695 /cmd/sbc_harness/usb_keyboard.c | |
parent | fa8fd67d5b057ec50a424bfa6a000346e3744175 (diff) |
Consistently use LM_UNUSED instead of (void) casts
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.c')
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.c b/cmd/sbc_harness/usb_keyboard.c index c9f5a6e..f0726cb 100644 --- a/cmd/sbc_harness/usb_keyboard.c +++ b/cmd/sbc_harness/usb_keyboard.c @@ -93,15 +93,12 @@ uint8_t const *tud_hid_descriptor_report_cb(uint8_t index) { return reports[index]; } -uint16_t tud_hid_get_report_cb(uint8_t instance, uint8_t report_id, hid_report_type_t report_type, uint8_t* buffer, uint16_t reqlen) -{ +uint16_t tud_hid_get_report_cb(uint8_t LM_UNUSED(instance), + uint8_t LM_UNUSED(report_id), + hid_report_type_t LM_UNUSED(report_type), + uint8_t* LM_UNUSED(buffer), + uint16_t LM_UNUSED(reqlen)) { // TODO not implemented - (void) instance; - (void) report_id; - (void) report_type; - (void) buffer; - (void) reqlen; - return 0; } |