Browse Source

VUSB fix report dropping if usbInterruptIsReady() returns false

Rasmus Schults 7 years ago
parent
commit
8a27703ef4
1 changed files with 3 additions and 0 deletions
  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");
                 print(")\n");
             }
             }
         }
         }
+    } else {
+      usbPoll();
+      vusb_transfer_keyboard();
     }
     }
 }
 }