Merge pull request #208 from prusa3d/fix-flash-failure

Don't detach USB before entering bootloader
pull/214/head
Guðni Már Gilbert 2022-10-08 13:55:42 +00:00 committed by GitHub
commit a8df6732fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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
} }