Fix disable fan for first x layers not working correctly.
Co-authored-by: Justin Schuh (@justinschuh)
This commit is contained in:
parent
b463b3148d
commit
96cdcf72d3
1 changed files with 2 additions and 1 deletions
|
@ -789,10 +789,11 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
||||||
}
|
}
|
||||||
#undef EXTRUDER_CONFIG
|
#undef EXTRUDER_CONFIG
|
||||||
bridge_fan_control = bridge_fan_speed > fan_speed_new;
|
bridge_fan_control = bridge_fan_speed > fan_speed_new;
|
||||||
} else {
|
} else { // fan disabled
|
||||||
bridge_fan_control = false;
|
bridge_fan_control = false;
|
||||||
bridge_fan_speed = 0;
|
bridge_fan_speed = 0;
|
||||||
fan_speed_new = 0;
|
fan_speed_new = 0;
|
||||||
|
custom_fan_speed_limits.second = 0;
|
||||||
}
|
}
|
||||||
if (fan_speed_new != m_fan_speed) {
|
if (fan_speed_new != m_fan_speed) {
|
||||||
m_fan_speed = fan_speed_new;
|
m_fan_speed = fan_speed_new;
|
||||||
|
|
Loading…
Reference in a new issue