Merge pull request #208 from prusa3d/fix-flash-failure
Don't detach USB before entering bootloaderpull/214/head
commit
a8df6732fe
|
|
@ -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