Skip to content

Commit

Permalink
Removed usb loop delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Jul 3, 2024
1 parent 25c77d4 commit 096dd3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Firmware/FFBoard/Src/USBdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ void USBdevice::registerUsb(){
void USBdevice::Run(){
tusb_init();
while(1){
tud_task();
Delay(1);
tud_task(); // Run until no usb events left
}
}

Expand Down

0 comments on commit 096dd3f

Please sign in to comment.