diff options
| author | Hierophect <hierophect@gmail.com> | 2019-07-01 19:47:10 -0400 |
|---|---|---|
| committer | Hierophect <hierophect@gmail.com> | 2019-07-01 19:47:10 -0400 |
| commit | 040acc3a3228c4204d8154656a1249171b68c75a (patch) | |
| tree | 3779fce6327c7396d1d2e02ca1426bc64dffbc31 /shared-module/usb_hid/Device.c | |
| parent | 94a2eff05c410ee6a111efa0c48abd78b3518092 (diff) | |
remove dependencies for stable build
Diffstat (limited to 'shared-module/usb_hid/Device.c')
| -rw-r--r-- | shared-module/usb_hid/Device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/usb_hid/Device.c b/shared-module/usb_hid/Device.c index 0e256cb5e..a2a4c30ac 100644 --- a/shared-module/usb_hid/Device.c +++ b/shared-module/usb_hid/Device.c @@ -47,6 +47,7 @@ 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() ) { |
