mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
increased arduino period
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user