Browse Source

Fix FANCHECK build error

3d-gussner 3 years ago
parent
commit
2b4cf8d56e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Firmware/Marlin_main.cpp

+ 2 - 0
Firmware/Marlin_main.cpp

@@ -8160,9 +8160,11 @@ Sigma_Exit:
     {
         if (isPrintPaused)
         {
+#ifdef FANCHECK
         if((fan_check_error == EFCE_FIXED) || (fan_check_error == EFCE_OK))
             lcd_resume_print();
         else
+#endif //FANCHECK
             SERIAL_PROTOCOLLNRPGM(MSG_OCTOPRINT_PAUSED); //inform octoprint of pause
         }
     }