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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user