mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-04-30 13:52:38 +00:00
HID: fix polling interval logic
This commit is contained in:
@@ -919,7 +919,7 @@ static uint8_t usb_hid_poll(usb_device_t *dev) {
|
||||
} else {
|
||||
usb_process_iface ( iface, read, buf);
|
||||
}
|
||||
iface->qNextPollTime += iface->interval; // poll at requested rate
|
||||
iface->qNextPollTime = timer_get_msec() + iface->interval; // poll at requested rate
|
||||
}
|
||||
} // end if known device
|
||||
} // end for loop (bNumIfaces)
|
||||
|
||||
Reference in New Issue
Block a user