Require temp sensor for bed thermal protection
This commit is contained in:
parent
82a3ed2f9a
commit
3bde4f4855
|
@ -80,7 +80,7 @@ unsigned char soft_pwm_bed;
|
||||||
static TRState thermal_runaway_state_machine[4] = { TRReset, TRReset, TRReset, TRReset };
|
static TRState thermal_runaway_state_machine[4] = { TRReset, TRReset, TRReset, TRReset };
|
||||||
static millis_t thermal_runaway_timer[4]; // = {0,0,0,0};
|
static millis_t thermal_runaway_timer[4]; // = {0,0,0,0};
|
||||||
#endif
|
#endif
|
||||||
#ifdef THERMAL_PROTECTION_BED
|
#if defined(THERMAL_PROTECTION_BED) && TEMP_SENSOR_BED != 0
|
||||||
static TRState thermal_runaway_bed_state_machine = TRReset;
|
static TRState thermal_runaway_bed_state_machine = TRReset;
|
||||||
static millis_t thermal_runaway_bed_timer;
|
static millis_t thermal_runaway_bed_timer;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue