Browse Source

Make the PRUSA RESET command functional on the miniRambo

Voinea Dragos 3 years ago
parent
commit
48b4bdfe8e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Firmware/Marlin_main.cpp

+ 3 - 1
Firmware/Marlin_main.cpp

@@ -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");