Allow redundant temp sensor with SINGLENOZZLE (#15650)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							475041656c
						
					
				
				
					commit
					0f5d457252
				
			@@ -416,7 +416,6 @@
 | 
				
			|||||||
#if EITHER(SINGLENOZZLE, MIXING_EXTRUDER)         // One hotend, one thermistor, no XY offset
 | 
					#if EITHER(SINGLENOZZLE, MIXING_EXTRUDER)         // One hotend, one thermistor, no XY offset
 | 
				
			||||||
  #undef HOTENDS
 | 
					  #undef HOTENDS
 | 
				
			||||||
  #define HOTENDS       1
 | 
					  #define HOTENDS       1
 | 
				
			||||||
  #undef TEMP_SENSOR_1_AS_REDUNDANT
 | 
					 | 
				
			||||||
  #undef HOTEND_OFFSET_X
 | 
					  #undef HOTEND_OFFSET_X
 | 
				
			||||||
  #undef HOTEND_OFFSET_Y
 | 
					  #undef HOTEND_OFFSET_Y
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -743,10 +743,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
 | 
				
			|||||||
    #error "Marlin supports a maximum of 6 EXTRUDERS."
 | 
					    #error "Marlin supports a maximum of 6 EXTRUDERS."
 | 
				
			||||||
  #endif
 | 
					  #endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
 | 
					 | 
				
			||||||
    #error "EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
 | 
					 | 
				
			||||||
  #endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  #if ENABLED(HEATERS_PARALLEL)
 | 
					  #if ENABLED(HEATERS_PARALLEL)
 | 
				
			||||||
    #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
 | 
					    #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
 | 
				
			||||||
  #endif
 | 
					  #endif
 | 
				
			||||||
@@ -1501,6 +1497,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
 | 
				
			|||||||
    #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."
 | 
					    #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."
 | 
				
			||||||
  #elif !ANY_PIN(TEMP_1, MAX6675_SS2)
 | 
					  #elif !ANY_PIN(TEMP_1, MAX6675_SS2)
 | 
				
			||||||
    #error "TEMP_1_PIN not defined for this board."
 | 
					    #error "TEMP_1_PIN not defined for this board."
 | 
				
			||||||
 | 
					  #elif ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
 | 
				
			||||||
 | 
					    #error "HOTENDS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
 | 
				
			||||||
  #endif
 | 
					  #endif
 | 
				
			||||||
  #if HOTENDS > 2
 | 
					  #if HOTENDS > 2
 | 
				
			||||||
    #if TEMP_SENSOR_2 == 0
 | 
					    #if TEMP_SENSOR_2 == 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user