Browse Source

Allow boards without a thermistor

Paweł Stawicki 8 years ago
parent
commit
9b0885f4f6
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/SanityCheck.h
  2. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/SanityCheck.h View File

770
  */
770
  */
771
 #if !HAS_HEATER_0
771
 #if !HAS_HEATER_0
772
   #error "HEATER_0_PIN not defined for this board."
772
   #error "HEATER_0_PIN not defined for this board."
773
-#elif !PIN_EXISTS(TEMP_0)
773
+#elif !PIN_EXISTS(TEMP_0) && !(defined(MAX6675_SS) && MAX6675_SS >= 0)
774
   #error "TEMP_0_PIN not defined for this board."
774
   #error "TEMP_0_PIN not defined for this board."
775
 #elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
775
 #elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
776
   #error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."
776
   #error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."

+ 1
- 1
Marlin/ultralcd.cpp View File

1564
      */
1564
      */
1565
     void _lcd_level_bed_homing() {
1565
     void _lcd_level_bed_homing() {
1566
       if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_HOMING), NULL);
1566
       if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_HOMING), NULL);
1567
-      lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING;
1568
       if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
1567
       if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
1569
         lcd_goto_screen(_lcd_level_bed_homing_done);
1568
         lcd_goto_screen(_lcd_level_bed_homing_done);
1569
+      lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING;
1570
     }
1570
     }
1571
 
1571
 
1572
     /**
1572
     /**

Loading…
Cancel
Save