mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-01-18 15:53:26 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
527975a37b
@ -680,8 +680,7 @@ static bool usb_request_hook_cb(USBDriver *usbp) {
|
||||
if ((usbp->setup[4] == KEYBOARD_INTERFACE) && (usbp->setup[5] == 0)) { /* wIndex */
|
||||
keyboard_protocol = ((usbp->setup[2]) != 0x00); /* LSB(wValue) */
|
||||
#ifdef NKRO_ENABLE
|
||||
keymap_config.nkro = !!keyboard_protocol;
|
||||
if (!keymap_config.nkro && keyboard_idle) {
|
||||
if (!keyboard_protocol && keyboard_idle) {
|
||||
#else /* NKRO_ENABLE */
|
||||
if (keyboard_idle) {
|
||||
#endif /* NKRO_ENABLE */
|
||||
|
Loading…
Reference in New Issue
Block a user