Skip to content

Commit 3b4728b

Browse files
thisiskeithbLCh-77
authored andcommitted
🔧 Allow board & probe dummy thermistors (MarlinFirmware#24165)
1 parent 81dc18f commit 3b4728b

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
@@ -2374,8 +2374,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
23742374
#if TEMP_SENSOR_PROBE
23752375
#if !PIN_EXISTS(TEMP_PROBE)
23762376
#error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
2377-
#elif !HAS_TEMP_ADC_PROBE
2378-
#error "TEMP_PROBE_PIN must be an ADC pin."
23792377
#elif DISABLED(FIX_MOUNTED_PROBE)
23802378
#error "TEMP_SENSOR_PROBE shouldn't be set without FIX_MOUNTED_PROBE."
23812379
#endif
@@ -2384,8 +2382,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
23842382
#if TEMP_SENSOR_BOARD
23852383
#if !PIN_EXISTS(TEMP_BOARD)
23862384
#error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
2387-
#elif !HAS_TEMP_ADC_BOARD
2388-
#error "TEMP_BOARD_PIN must be an ADC pin."
23892385
#elif ENABLED(THERMAL_PROTECTION_BOARD) && (!defined(BOARD_MINTEMP) || !defined(BOARD_MAXTEMP))
23902386
#error "THERMAL_PROTECTION_BOARD requires BOARD_MINTEMP and BOARD_MAXTEMP."
23912387
#endif

0 commit comments

Comments
 (0)