Skip to content

Commit f9e77bf

Browse files
thisiskeithbtomek2k1
authored andcommitted
🔧 Allow board & probe dummy thermistors (MarlinFirmware#24165)
1 parent 9ab534b commit f9e77bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Marlin/src/inc/SanityCheck.h

-4
Original file line numberDiff line numberDiff line change
@@ -2281,8 +2281,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
22812281
#if TEMP_SENSOR_PROBE
22822282
#if !PIN_EXISTS(TEMP_PROBE)
22832283
#error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
2284-
#elif !HAS_TEMP_ADC_PROBE
2285-
#error "TEMP_PROBE_PIN must be an ADC pin."
22862284
#elif DISABLED(FIX_MOUNTED_PROBE)
22872285
#error "TEMP_SENSOR_PROBE shouldn't be set without FIX_MOUNTED_PROBE."
22882286
#endif
@@ -2291,8 +2289,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
22912289
#if TEMP_SENSOR_BOARD
22922290
#if !PIN_EXISTS(TEMP_BOARD)
22932291
#error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
2294-
#elif !HAS_TEMP_ADC_BOARD
2295-
#error "TEMP_BOARD_PIN must be an ADC pin."
22962292
#elif ENABLED(THERMAL_PROTECTION_BOARD) && (!defined(BOARD_MINTEMP) || !defined(BOARD_MAXTEMP))
22972293
#error "THERMAL_PROTECTION_BOARD requires BOARD_MINTEMP and BOARD_MAXTEMP."
22982294
#endif

0 commit comments

Comments
 (0)