From 54356bc767513be7d239f23466caffdfef3cee8d Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 23 Apr 2021 15:55:51 +0300 Subject: increased arduino period --- hid/src/usb/hid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hid/src') 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)) { -- cgit v1.2.3