Remove extra #if (#14439)
This commit is contained in:
parent
4d5a1984e2
commit
a9445d557e
1 changed files with 2 additions and 6 deletions
|
@ -1967,17 +1967,13 @@ void Temperature::disable_all_heaters() {
|
||||||
#if HAS_HEATED_BED
|
#if HAS_HEATED_BED
|
||||||
temp_bed.target = 0;
|
temp_bed.target = 0;
|
||||||
temp_bed.soft_pwm_amount = 0;
|
temp_bed.soft_pwm_amount = 0;
|
||||||
#if HAS_HEATED_BED
|
WRITE_HEATER_BED(LOW);
|
||||||
WRITE_HEATER_BED(LOW);
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_HEATED_CHAMBER
|
#if HAS_HEATED_CHAMBER
|
||||||
temp_chamber.target = 0;
|
temp_chamber.target = 0;
|
||||||
temp_chamber.soft_pwm_amount = 0;
|
temp_chamber.soft_pwm_amount = 0;
|
||||||
#if HAS_HEATED_CHAMBER
|
WRITE_HEATER_CHAMBER(LOW);
|
||||||
WRITE_HEATER_CHAMBER(LOW);
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue