fan speed error during print fixed
This commit is contained in:
parent
d1a065881b
commit
a95506b128
1 changed files with 22 additions and 17 deletions
|
@ -460,11 +460,16 @@ extern void stop_and_save_print_to_ram(float z_move, float e_move);
|
|||
extern void restore_print_from_ram_and_continue(float e_move);
|
||||
|
||||
void fanSpeedError(unsigned char _fan) {
|
||||
if (get_message_level() != 0 && isPrintPaused) return;
|
||||
//to ensure that target temp. is not set to zero in case taht we are resuming print
|
||||
if (card.sdprinting) {
|
||||
if (heating_status != 0) {
|
||||
lcd_print_stop();
|
||||
}
|
||||
else lcd_sdcard_pause();
|
||||
else {
|
||||
isPrintPaused = true;
|
||||
lcd_sdcard_pause();
|
||||
}
|
||||
}
|
||||
else {
|
||||
setTargetHotend0(0);
|
||||
|
|
Loading…
Reference in a new issue