Remove one unused variable

Saves 1 byte of SRAM

The variable is only assigned a value but is never used.
This commit is contained in:
Guðni Már Gilbert 2022-01-29 14:40:47 +00:00
parent d69b8daa72
commit f8847edca6
3 changed files with 0 additions and 4 deletions

View File

@ -354,7 +354,6 @@ extern unsigned long start_pause_print;
extern unsigned long t_fan_rising_edge;
extern bool mesh_bed_leveling_flag;
extern bool mesh_bed_run_from_menu;
extern int8_t lcd_change_fil_state;
// save/restore printing

View File

@ -208,7 +208,6 @@ static ShortTimer crashDetTimer;
//unsigned long load_filament_time;
bool mesh_bed_leveling_flag = false;
bool mesh_bed_run_from_menu = false;
#ifdef PRUSA_M28
bool prusa_sd_card_upload = false;
@ -3448,7 +3447,6 @@ static void gcode_G80()
lcd_setstatuspgm(_T(WELCOME_MSG));
custom_message_type = custom_message_type_old;
custom_message_state = custom_message_state_old;
mesh_bed_run_from_menu = false;
lcd_update(2);
st_synchronize();

View File

@ -4493,7 +4493,6 @@ static void lcd_language_menu()
void lcd_mesh_bedleveling()
{
mesh_bed_run_from_menu = true;
enquecommand_P(PSTR("G80"));
lcd_return_to_status();
}