diff options
| author | Hierophect <hierophect@gmail.com> | 2019-07-22 12:58:28 -0400 |
|---|---|---|
| committer | Hierophect <hierophect@gmail.com> | 2019-07-22 12:58:28 -0400 |
| commit | 58630a844ad1db7d30671a3cb18f433e015a40a3 (patch) | |
| tree | 4e481c7c9fd007faaa98f879724a89610cf870b7 /shared-module/usb_hid/Device.c | |
| parent | 10b9ca5a92d876e6a3f0e6fb2fb0c2b317c5046a (diff) | |
Add feature conditionals and clean up
Diffstat (limited to 'shared-module/usb_hid/Device.c')
| -rw-r--r-- | shared-module/usb_hid/Device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shared-module/usb_hid/Device.c b/shared-module/usb_hid/Device.c index a2a4c30ac..0e256cb5e 100644 --- a/shared-module/usb_hid/Device.c +++ b/shared-module/usb_hid/Device.c @@ -47,7 +47,6 @@ void common_hal_usb_hid_device_send_report(usb_hid_device_obj_t *self, uint8_t* // Wait until interface is ready, timeout = 2 seconds uint64_t end_ticks = ticks_ms + 2000; - while ( (ticks_ms < end_ticks) && !tud_hid_generic_ready() ) { } if ( !tud_hid_generic_ready() ) { |
