Alwyas apply disable_fan_first_layers, even if cooling is disabled, since fan_always_on is applied in that case as well. Update descriptive text and have it appear in case of disabled auto cooling. #1166

This commit is contained in:
Alessandro Ranellucci 2013-05-10 15:09:27 +02:00
parent 993fcd9182
commit bac5093de4
3 changed files with 15 additions and 8 deletions

View file

@ -61,8 +61,8 @@ sub flush {
$1 . sprintf("%.${dec}f", $new_speed < $self->min_print_speed ? $self->min_print_speed : $new_speed)
/gexm;
}
$fan_speed = 0 if $self->layer_id < $self->config->disable_fan_first_layers;
}
$fan_speed = 0 if $self->layer_id < $self->config->disable_fan_first_layers;
$gcode = $self->gcodegen->set_fan($fan_speed) . $gcode;
# bridge fan speed