✅ Warn about dummy thermistors
This commit is contained in:
@@ -2207,22 +2207,22 @@ void Temperature::init() {
|
||||
|
||||
// Thermistor activation by MCU pin
|
||||
#if PIN_EXISTS(TEMP_0_TR_ENABLE)
|
||||
OUT_WRITE(TEMP_0_TR_ENABLE_PIN,
|
||||
OUT_WRITE(TEMP_0_TR_ENABLE_PIN, (
|
||||
#if TEMP_SENSOR_IS_ANY_MAX_TC(0)
|
||||
1
|
||||
HIGH
|
||||
#else
|
||||
0
|
||||
LOW
|
||||
#endif
|
||||
);
|
||||
));
|
||||
#endif
|
||||
#if PIN_EXISTS(TEMP_1_TR_ENABLE)
|
||||
OUT_WRITE(TEMP_1_TR_ENABLE_PIN,
|
||||
OUT_WRITE(TEMP_1_TR_ENABLE_PIN, (
|
||||
#if TEMP_SENSOR_IS_ANY_MAX_TC(1)
|
||||
1
|
||||
HIGH
|
||||
#else
|
||||
0
|
||||
LOW
|
||||
#endif
|
||||
);
|
||||
));
|
||||
#endif
|
||||
|
||||
#if HAS_HEATER_0
|
||||
|
||||
Reference in New Issue
Block a user