diff options
-rw-r--r-- | bootloaders/diskloader/src/USBCore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloaders/diskloader/src/USBCore.cpp b/bootloaders/diskloader/src/USBCore.cpp index b6f8c44..fbfad0e 100644 --- a/bootloaders/diskloader/src/USBCore.cpp +++ b/bootloaders/diskloader/src/USBCore.cpp @@ -502,6 +502,10 @@ int USBGetChar() if (!ReadWriteAllowed()) ReleaseRX(); return c; + } else { + u8 temp = 0; + for (temp=100; temp; temp--) + asm volatile("nop\n\t" "nop\n\t" "nop\n\t" "nop\n\t"::); } if (!--_timeout) |