🔧 Allow board & probe dummy thermistors (#24165)
This commit is contained in:
parent
425684e2ff
commit
1c516bdd5e
|
@ -2281,8 +2281,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||||
#if TEMP_SENSOR_PROBE
|
#if TEMP_SENSOR_PROBE
|
||||||
#if !PIN_EXISTS(TEMP_PROBE)
|
#if !PIN_EXISTS(TEMP_PROBE)
|
||||||
#error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
|
#error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
|
||||||
#elif !HAS_TEMP_ADC_PROBE
|
|
||||||
#error "TEMP_PROBE_PIN must be an ADC pin."
|
|
||||||
#elif DISABLED(FIX_MOUNTED_PROBE)
|
#elif DISABLED(FIX_MOUNTED_PROBE)
|
||||||
#error "TEMP_SENSOR_PROBE shouldn't be set without FIX_MOUNTED_PROBE."
|
#error "TEMP_SENSOR_PROBE shouldn't be set without FIX_MOUNTED_PROBE."
|
||||||
#endif
|
#endif
|
||||||
|
@ -2291,8 +2289,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||||
#if TEMP_SENSOR_BOARD
|
#if TEMP_SENSOR_BOARD
|
||||||
#if !PIN_EXISTS(TEMP_BOARD)
|
#if !PIN_EXISTS(TEMP_BOARD)
|
||||||
#error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
|
#error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
|
||||||
#elif !HAS_TEMP_ADC_BOARD
|
|
||||||
#error "TEMP_BOARD_PIN must be an ADC pin."
|
|
||||||
#elif ENABLED(THERMAL_PROTECTION_BOARD) && (!defined(BOARD_MINTEMP) || !defined(BOARD_MAXTEMP))
|
#elif ENABLED(THERMAL_PROTECTION_BOARD) && (!defined(BOARD_MINTEMP) || !defined(BOARD_MAXTEMP))
|
||||||
#error "THERMAL_PROTECTION_BOARD requires BOARD_MINTEMP and BOARD_MAXTEMP."
|
#error "THERMAL_PROTECTION_BOARD requires BOARD_MINTEMP and BOARD_MAXTEMP."
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue