diff options
Diffstat (limited to 'pjrc')
-rwxr-xr-x[-rw-r--r--] | pjrc/usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjrc/usb.c b/pjrc/usb.c index 3cfe94731..b2c18d98d 100644..100755 --- a/pjrc/usb.c +++ b/pjrc/usb.c @@ -681,7 +681,8 @@ ISR(USB_GEN_vect) UEINTX = 0x3A; } } - if (usb_keyboard_idle_config && (++div4 & 3) == 0) { + /* TODO: should keep IDLE rate on each keyboard interface */ + if (!keyboard_nkro && usb_keyboard_idle_config && (++div4 & 3) == 0) { UENUM = KBD_ENDPOINT; if (UEINTX & (1<<RWAL)) { usb_keyboard_idle_count++; |