|
@@ -3920,9 +3920,11 @@ void process_commands()
|
|
|
else if (code_seen("RESET")) { // PRUSA RESET
|
|
|
// careful!
|
|
|
if (farm_mode) {
|
|
|
-#if (defined(WATCHDOG) && (MOTHERBOARD == BOARD_EINSY_1_0a))
|
|
|
+#ifdef WATCHDOG
|
|
|
+#if defined(W25X20CL) && defined(BOOTAPP)
|
|
|
boot_app_magic = BOOT_APP_MAGIC;
|
|
|
boot_app_flags = BOOT_APP_FLG_RUN;
|
|
|
+#endif //defined(W25X20CL) && defined(BOOTAPP)
|
|
|
softReset();
|
|
|
#else //WATCHDOG
|
|
|
asm volatile("jmp 0x3E000");
|