🐛 Fix redundant heater / sensor pin assignments (#22309)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							5026797310
						
					
				
				
					commit
					a35c234ce1
				
			@@ -65,7 +65,7 @@
 | 
			
		||||
  #define TEMP_BED_PIN                  P0_23_A0  // A0 (T0) - (67) - TEMP_BED_PIN
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if HOTENDS == 1
 | 
			
		||||
#if HOTENDS == 1 && TEMP_SENSOR_REDUNDANT_SOURCE != 1
 | 
			
		||||
  #if TEMP_SENSOR_PROBE
 | 
			
		||||
    #define TEMP_PROBE_PIN            TEMP_1_PIN
 | 
			
		||||
  #elif TEMP_SENSOR_CHAMBER
 | 
			
		||||
@@ -79,7 +79,7 @@
 | 
			
		||||
#ifndef HEATER_0_PIN
 | 
			
		||||
  #define HEATER_0_PIN                     P2_07
 | 
			
		||||
#endif
 | 
			
		||||
#if HOTENDS == 1
 | 
			
		||||
#if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
 | 
			
		||||
  #ifndef FAN1_PIN
 | 
			
		||||
    #define FAN1_PIN                       P2_04
 | 
			
		||||
  #endif
 | 
			
		||||
 
 | 
			
		||||
@@ -202,7 +202,7 @@
 | 
			
		||||
//
 | 
			
		||||
#define HEATER_BED_PIN                     P2_05
 | 
			
		||||
#define HEATER_0_PIN                       P2_07
 | 
			
		||||
#if HOTENDS == 1
 | 
			
		||||
#if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
 | 
			
		||||
  #ifndef FAN1_PIN
 | 
			
		||||
    #define FAN1_PIN                       P2_06
 | 
			
		||||
  #endif
 | 
			
		||||
 
 | 
			
		||||
@@ -217,7 +217,7 @@
 | 
			
		||||
  #define FAN1_PIN                  RAMPS_D8_PIN
 | 
			
		||||
#elif DISABLED(IS_RAMPS_SF)                       // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
 | 
			
		||||
  #define HEATER_BED_PIN            RAMPS_D8_PIN
 | 
			
		||||
  #if HOTENDS == 1
 | 
			
		||||
  #if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
 | 
			
		||||
    #define FAN1_PIN                MOSFET_D_PIN
 | 
			
		||||
  #else
 | 
			
		||||
    #define HEATER_1_PIN            MOSFET_D_PIN
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user