PRUSA RESET safety precaution

This commit is contained in:
Voinea Dragos 2021-01-25 09:58:12 +02:00
parent 9fa9d6b063
commit 4f769f0faa
1 changed files with 2 additions and 2 deletions

View File

@ -3909,9 +3909,9 @@ void process_commands()
boot_app_flags = BOOT_APP_FLG_RUN; boot_app_flags = BOOT_APP_FLG_RUN;
#endif //defined(W25X20CL) && defined(BOOTAPP) #endif //defined(W25X20CL) && defined(BOOTAPP)
softReset(); softReset();
#else //WATCHDOG #elif defined(BOOTAPP) //this is a safety precaution. This is because the new bootloader turns off the heaters, but the old one doesn't. The watchdog should be used most of the time.
asm volatile("jmp 0x3E000"); asm volatile("jmp 0x3E000");
#endif //WATCHDOG #endif
}else if (code_seen("fv")) { // PRUSA fv }else if (code_seen("fv")) { // PRUSA fv
// get file version // get file version
#ifdef SDSUPPORT #ifdef SDSUPPORT