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