🐛 Redundant Temp Sensor followup (#22196)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							ee54cd4bd7
						
					
				
				
					commit
					5054dc6ea2
				
			@@ -82,11 +82,11 @@
 | 
			
		||||
#define TEMP_2_PIN                             5  // Analog Input (unused)
 | 
			
		||||
#define TEMP_BED_PIN                           1  // Analog Input (BED thermistor)
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      -1
 | 
			
		||||
  #define TEMP_0_CS_PIN                       -1
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      -1
 | 
			
		||||
  #define TEMP_0_CS_PIN                       -1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -71,11 +71,11 @@
 | 
			
		||||
#define TEMP_2_PIN                             5  // Analog Input (OnBoard thermistor beta 3950)
 | 
			
		||||
#define TEMP_BED_PIN                           1  // Analog Input (BED thermistor)
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -179,11 +179,11 @@
 | 
			
		||||
#define TEMP_4_PIN                             5  // dummy so will compile when PINS_DEBUGGING is enabled
 | 
			
		||||
#define TEMP_BED_PIN                           4  // Analog Input
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      49
 | 
			
		||||
  #define TEMP_0_CS_PIN                       49
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -60,12 +60,12 @@
 | 
			
		||||
#undef TEMP_BED_PIN
 | 
			
		||||
#define TEMP_BED_PIN                          10  // Analog Input
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
#undef MAX6675_SS_PIN
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#undef TEMP_0_CS_PIN
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      69  // Don't use 53 if using Display/SD card
 | 
			
		||||
  #define TEMP_0_CS_PIN                       69  // Don't use 53 if using Display/SD card
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      69  // Don't use 49 (SD_DETECT_PIN)
 | 
			
		||||
  #define TEMP_0_CS_PIN                       69  // Don't use 49 (SD_DETECT_PIN)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -109,11 +109,11 @@
 | 
			
		||||
#define TEMP_2_PIN                             3  // Analog Input
 | 
			
		||||
#define TEMP_BED_PIN                           0  // Analog Input
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      49
 | 
			
		||||
  #define TEMP_0_CS_PIN                       49
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -94,12 +94,12 @@
 | 
			
		||||
#undef TEMP_BED_PIN
 | 
			
		||||
#define TEMP_BED_PIN                          11  // Analog Input
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
#undef MAX6675_SS_PIN
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#undef TEMP_0_CS_PIN
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      67  // Don't use 53 if using Display/SD card
 | 
			
		||||
  #define TEMP_0_CS_PIN                       67  // Don't use 53 if using Display/SD card
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      67  // Don't use 49 (SD_DETECT_PIN)
 | 
			
		||||
  #define TEMP_0_CS_PIN                       67  // Don't use 49 (SD_DETECT_PIN)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -156,12 +156,12 @@
 | 
			
		||||
  #define TEMP_5_PIN                           6  // A6 (Marlin 2.0 not support)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
/*
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      49
 | 
			
		||||
  #define TEMP_0_CS_PIN                       49
 | 
			
		||||
#endif
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -142,12 +142,12 @@
 | 
			
		||||
  #define TEMP_5_PIN                           6  // A6 (Marlin 2.0 not support)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
/*
 | 
			
		||||
#if DISABLED(SDSUPPORT)
 | 
			
		||||
  #define MAX6675_SS_PIN                      53
 | 
			
		||||
  #define TEMP_0_CS_PIN                       53
 | 
			
		||||
#else
 | 
			
		||||
  #define MAX6675_SS_PIN                      49
 | 
			
		||||
  #define TEMP_0_CS_PIN                       49
 | 
			
		||||
#endif
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -149,12 +149,11 @@
 | 
			
		||||
#define SD_MISO_PIN                           74
 | 
			
		||||
#define SD_MOSI_PIN                           75
 | 
			
		||||
 | 
			
		||||
// SPI for Max6675 or Max31855 Thermocouple
 | 
			
		||||
#define MAX6675_SS_PIN                        65
 | 
			
		||||
#define MAX31855_SS0                          65
 | 
			
		||||
#define MAX31855_SS1                          52
 | 
			
		||||
#define MAX31855_SS2                          50
 | 
			
		||||
#define MAX31855_SS3                          51
 | 
			
		||||
// SPI for MAX Thermocouple
 | 
			
		||||
#define TEMP_0_CS_PIN                         65
 | 
			
		||||
#define TEMP_1_CS_PIN                         52
 | 
			
		||||
#define TEMP_2_CS_PIN                         50
 | 
			
		||||
#define TEMP_3_CS_PIN                         51
 | 
			
		||||
 | 
			
		||||
#define ENC424_SS                             61
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user