|
@@ -358,17 +358,17 @@ class Temperature {
|
358
|
358
|
|
359
|
359
|
#if ENABLED(THERMAL_PROTECTION_HOTENDS) || HAS_THERMALLY_PROTECTED_BED
|
360
|
360
|
|
361
|
|
- typedef enum TRState { TRReset, TRInactive, TRFirstHeating, TRStable, TRRunaway } TRstate;
|
|
361
|
+ typedef enum TRState { TRInactive, TRFirstHeating, TRStable, TRRunaway } TRstate;
|
362
|
362
|
|
363
|
363
|
void thermal_runaway_protection(TRState* state, millis_t* timer, float temperature, float target_temperature, int heater_id, int period_seconds, int hysteresis_degc);
|
364
|
364
|
|
365
|
365
|
#if ENABLED(THERMAL_PROTECTION_HOTENDS)
|
366
|
|
- TRState thermal_runaway_state_machine[EXTRUDERS] = { TRReset };
|
|
366
|
+ TRState thermal_runaway_state_machine[EXTRUDERS] = { TRInactive };
|
367
|
367
|
millis_t thermal_runaway_timer[EXTRUDERS] = { 0 };
|
368
|
368
|
#endif
|
369
|
369
|
|
370
|
370
|
#if HAS_THERMALLY_PROTECTED_BED
|
371
|
|
- TRState thermal_runaway_bed_state_machine = TRReset;
|
|
371
|
+ TRState thermal_runaway_bed_state_machine = TRInactive;
|
372
|
372
|
millis_t thermal_runaway_bed_timer;
|
373
|
373
|
#endif
|
374
|
374
|
|