mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 10:46:18 +00:00
Fix thermal_runaway_protection() (PR#2266)
THERMAL_RUNAWAY_PROTECTION_PERIOD was used instead of THERMAL_RUNAWAY_PROTECTION_BED_PERIOD. Fix for #2253
This commit is contained in:
parent
4ccf7c5e9a
commit
1e7b286add
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ void manage_heater()
|
|||
|
||||
#if TEMP_SENSOR_BED != 0
|
||||
|
||||
#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0
|
||||
#ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0
|
||||
thermal_runaway_protection(&thermal_runaway_bed_state_machine, &thermal_runaway_bed_timer, current_temperature_bed, target_temperature_bed, 9, THERMAL_RUNAWAY_PROTECTION_BED_PERIOD, THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue