Keep PRUSA RESET available even in non-farm mode

This commit is contained in:
D.R.racer 2021-01-25 08:43:37 +01:00
parent 98a4da571d
commit 6a62674bd8
1 changed files with 1 additions and 5 deletions

View File

@ -3910,11 +3910,7 @@ void process_commands()
#endif //defined(W25X20CL) && defined(BOOTAPP) #endif //defined(W25X20CL) && defined(BOOTAPP)
softReset(); softReset();
#else //WATCHDOG #else //WATCHDOG
// careful! asm volatile("jmp 0x3E000");
if (farm_mode)
asm volatile("jmp 0x3E000");
else
puts_P(PSTR("Not in farm mode."));
#endif //WATCHDOG #endif //WATCHDOG
}else if (code_seen("fv")) { // PRUSA fv }else if (code_seen("fv")) { // PRUSA fv
// get file version // get file version