mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
increased arduino period
This commit is contained in:
parent
19039cd189
commit
54356bc767
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user