diff options
author | Devaev Maxim <[email protected]> | 2021-04-23 15:55:51 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-04-23 15:55:51 +0300 |
commit | 54356bc767513be7d239f23466caffdfef3cee8d (patch) | |
tree | 27f8979ef2976a0af16945a8989c2c4a72f99a8c /hid/src/usb/hid.h | |
parent | 19039cd1893e8309acf76c7d703f092d9024c62d (diff) |
increased arduino period
Diffstat (limited to 'hid/src/usb/hid.h')
-rw-r--r-- | hid/src/usb/hid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/src/usb/hid.h b/hid/src/usb/hid.h index e347a368..f40cbf36 100644 --- a/hid/src/usb/hid.h +++ b/hid/src/usb/hid.h @@ -77,7 +77,7 @@ class UsbKeyboard { void periodic() { # ifdef HID_USB_CHECK_ENDPOINT static unsigned long prev_ts = 0; - if (is_micros_timed_out(prev_ts, 10000)) { + if (is_micros_timed_out(prev_ts, 50000)) { static bool prev_online = true; bool online = !getOfflineAs(1); if (!_sent || (online && !prev_online)) { |