fan speed error during print fixed

This commit is contained in:
PavelSindler 2017-09-22 21:21:16 +02:00
parent d1a065881b
commit a95506b128

View file

@ -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);