|
@@ -80,7 +80,7 @@ unsigned char soft_pwm_bed;
|
80
|
80
|
static TRState thermal_runaway_state_machine[4] = { TRReset, TRReset, TRReset, TRReset };
|
81
|
81
|
static millis_t thermal_runaway_timer[4]; // = {0,0,0,0};
|
82
|
82
|
#endif
|
83
|
|
- #ifdef THERMAL_PROTECTION_BED
|
|
83
|
+ #if defined(THERMAL_PROTECTION_BED) && TEMP_SENSOR_BED != 0
|
84
|
84
|
static TRState thermal_runaway_bed_state_machine = TRReset;
|
85
|
85
|
static millis_t thermal_runaway_bed_timer;
|
86
|
86
|
#endif
|