Skip to content

Commit 62c8054

Browse files
ellenspernisv
authored andcommitted
🔧 Update thermocouple 2 pin sanity check (MarlinFirmware#25627)
1 parent 14dc6a6 commit 62c8054

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Marlin/src/inc/SanityCheck.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -2526,8 +2526,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS
25262526
#error "TEMP_SENSOR_2 is required with 3 or more HOTENDS."
25272527
#elif !HAS_HEATER_2
25282528
#error "HEATER_2_PIN not defined for this board."
2529-
#elif !PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_2_IS_DUMMY
2530-
#error "TEMP_2_PIN not defined for this board."
2529+
#elif !ANY_PIN(TEMP_2, TEMP_2_CS) && !TEMP_SENSOR_2_IS_DUMMY
2530+
#error "TEMP_2_PIN or TEMP_2_CS_PIN not defined for this board."
25312531
#endif
25322532
#if HOTENDS > 3
25332533
#if TEMP_SENSOR_3 == 0

Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
#define TEMP_0_CS_PIN 65
154154
#define TEMP_1_CS_PIN 52
155155
#define TEMP_2_CS_PIN 50
156-
#define TEMP_3_CS_PIN 51
156+
#define TEMP_3_CS_PIN 51 // Not yet supported
157157

158158
#define ENC424_SS 61
159159

0 commit comments

Comments
 (0)