Explorar el Código

VUSB fix report dropping if usbInterruptIsReady() returns false

Rasmus Schults hace 7 años
padre
commit
8a27703ef4
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      tmk_core/protocol/vusb/vusb.c

+ 3 - 0
tmk_core/protocol/vusb/vusb.c

@@ -59,6 +59,9 @@ void vusb_transfer_keyboard(void)
                 print(")\n");
             }
         }
+    } else {
+      usbPoll();
+      vusb_transfer_keyboard();
     }
 }