Don't detach USB before entering bootloader
parent
9c7701c123
commit
fd7e9c415c
|
|
@ -27,7 +27,6 @@ void Reset() {
|
|||
void Step() {
|
||||
if (resetPending) {
|
||||
hal::usart::usart1.puts("resetPending\n");
|
||||
USB_Detach();
|
||||
for (;;)
|
||||
; //endless loop while waiting for the watchdog to reset
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue