fix assert fail in cooling buffer, clamp fan speed low limit must be same or smaller than high limit
This commit is contained in:
parent
65ab83d6a9
commit
8f10943b69
1 changed files with 1 additions and 0 deletions
|
@ -798,6 +798,7 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
|||
m_fan_speed = fan_speed_new;
|
||||
new_gcode += GCodeWriter::set_fan(m_config.gcode_flavor, m_config.gcode_comments, m_fan_speed);
|
||||
}
|
||||
custom_fan_speed_limits.first = std::min(custom_fan_speed_limits.first, custom_fan_speed_limits.second);
|
||||
return custom_fan_speed_limits;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue