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
 #if EITHER(SINGLENOZZLE, MIXING_EXTRUDER)         // One hotend, one thermistor, no XY offset
416
 #if EITHER(SINGLENOZZLE, MIXING_EXTRUDER)         // One hotend, one thermistor, no XY offset
417
   #undef HOTENDS
417
   #undef HOTENDS
418
   #define HOTENDS       1
418
   #define HOTENDS       1
419
-  #undef TEMP_SENSOR_1_AS_REDUNDANT
420
   #undef HOTEND_OFFSET_X
419
   #undef HOTEND_OFFSET_X
421
   #undef HOTEND_OFFSET_Y
420
   #undef HOTEND_OFFSET_Y
422
 #endif
421
 #endif

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

743
     #error "Marlin supports a maximum of 6 EXTRUDERS."
743
     #error "Marlin supports a maximum of 6 EXTRUDERS."
744
   #endif
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
   #if ENABLED(HEATERS_PARALLEL)
746
   #if ENABLED(HEATERS_PARALLEL)
751
     #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
747
     #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
752
   #endif
748
   #endif
1501
     #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."
1497
     #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."
1502
   #elif !ANY_PIN(TEMP_1, MAX6675_SS2)
1498
   #elif !ANY_PIN(TEMP_1, MAX6675_SS2)
1503
     #error "TEMP_1_PIN not defined for this board."
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
   #endif
1502
   #endif
1505
   #if HOTENDS > 2
1503
   #if HOTENDS > 2
1506
     #if TEMP_SENSOR_2 == 0
1504
     #if TEMP_SENSOR_2 == 0

Loading…
Cancel
Save