소스 검색

Make the PRUSA RESET command functional on the miniRambo

Voinea Dragos 3 년 전
부모
커밋
48b4bdfe8e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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");