Browse Source

Allow redundant temp sensor with SINGLENOZZLE (#15650)

Giuliano Zaro 5 years ago
parent
commit
0f5d457252
2 changed files with 2 additions and 5 deletions
  1. 0
    1
      Marlin/src/inc/Conditionals_LCD.h
  2. 2
    4
      Marlin/src/inc/SanityCheck.h

+ 0
- 1
Marlin/src/inc/Conditionals_LCD.h View File

@@ -416,7 +416,6 @@
416 416
 #if EITHER(SINGLENOZZLE, MIXING_EXTRUDER)         // One hotend, one thermistor, no XY offset
417 417
   #undef HOTENDS
418 418
   #define HOTENDS       1
419
-  #undef TEMP_SENSOR_1_AS_REDUNDANT
420 419
   #undef HOTEND_OFFSET_X
421 420
   #undef HOTEND_OFFSET_Y
422 421
 #endif

+ 2
- 4
Marlin/src/inc/SanityCheck.h View File

@@ -743,10 +743,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
743 743
     #error "Marlin supports a maximum of 6 EXTRUDERS."
744 744
   #endif
745 745
 
746
-  #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
747
-    #error "EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
748
-  #endif
749
-
750 746
   #if ENABLED(HEATERS_PARALLEL)
751 747
     #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
752 748
   #endif
@@ -1501,6 +1497,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1501 1497
     #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."
1502 1498
   #elif !ANY_PIN(TEMP_1, MAX6675_SS2)
1503 1499
     #error "TEMP_1_PIN not defined for this board."
1500
+  #elif ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
1501
+    #error "HOTENDS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
1504 1502
   #endif
1505 1503
   #if HOTENDS > 2
1506 1504
     #if TEMP_SENSOR_2 == 0

Loading…
Cancel
Save