Changed the type of variable to bool, the name to "cancel_heatup", flags implementation and added this fix to M190 gcode too.
This commit is contained in:
parent
cd3220d055
commit
d86c3cf43c
3 changed files with 9 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ int absPreheatHotendTemp;
|
|||
int absPreheatHPBTemp;
|
||||
int absPreheatFanSpeed;
|
||||
|
||||
boolean forced_heating_stop = false ;
|
||||
bool cancel_heatup = false ;
|
||||
|
||||
#ifdef ULTIPANEL
|
||||
static float manual_feedrate[] = MANUAL_FEEDRATE;
|
||||
|
|
@ -195,7 +195,7 @@ static void lcd_status_screen()
|
|||
currentMenu = lcd_main_menu;
|
||||
encoderPosition = 0;
|
||||
lcd_quick_feedback();
|
||||
lcd_implementation_init(); // to maybe revive the LCD if static electricity killed it.
|
||||
lcd_implementation_init(); // to maybe revive the LCD if static electricity killed it.
|
||||
}
|
||||
|
||||
#ifdef ULTIPANEL_FEEDMULTIPLY
|
||||
|
|
@ -258,7 +258,7 @@ static void lcd_sdcard_stop()
|
|||
}
|
||||
autotempShutdown();
|
||||
|
||||
forced_heating_stop = true;
|
||||
cancel_heatup = true;
|
||||
}
|
||||
|
||||
/* Menu implementation */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue