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:
parent
d69b8daa72
commit
f8847edca6
|
|
@ -354,7 +354,6 @@ extern unsigned long start_pause_print;
|
||||||
extern unsigned long t_fan_rising_edge;
|
extern unsigned long t_fan_rising_edge;
|
||||||
|
|
||||||
extern bool mesh_bed_leveling_flag;
|
extern bool mesh_bed_leveling_flag;
|
||||||
extern bool mesh_bed_run_from_menu;
|
|
||||||
|
|
||||||
extern int8_t lcd_change_fil_state;
|
extern int8_t lcd_change_fil_state;
|
||||||
// save/restore printing
|
// save/restore printing
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,6 @@ static ShortTimer crashDetTimer;
|
||||||
//unsigned long load_filament_time;
|
//unsigned long load_filament_time;
|
||||||
|
|
||||||
bool mesh_bed_leveling_flag = false;
|
bool mesh_bed_leveling_flag = false;
|
||||||
bool mesh_bed_run_from_menu = false;
|
|
||||||
|
|
||||||
#ifdef PRUSA_M28
|
#ifdef PRUSA_M28
|
||||||
bool prusa_sd_card_upload = false;
|
bool prusa_sd_card_upload = false;
|
||||||
|
|
@ -3448,7 +3447,6 @@ static void gcode_G80()
|
||||||
lcd_setstatuspgm(_T(WELCOME_MSG));
|
lcd_setstatuspgm(_T(WELCOME_MSG));
|
||||||
custom_message_type = custom_message_type_old;
|
custom_message_type = custom_message_type_old;
|
||||||
custom_message_state = custom_message_state_old;
|
custom_message_state = custom_message_state_old;
|
||||||
mesh_bed_run_from_menu = false;
|
|
||||||
lcd_update(2);
|
lcd_update(2);
|
||||||
|
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
|
|
|
||||||
|
|
@ -4493,7 +4493,6 @@ static void lcd_language_menu()
|
||||||
|
|
||||||
void lcd_mesh_bedleveling()
|
void lcd_mesh_bedleveling()
|
||||||
{
|
{
|
||||||
mesh_bed_run_from_menu = true;
|
|
||||||
enquecommand_P(PSTR("G80"));
|
enquecommand_P(PSTR("G80"));
|
||||||
lcd_return_to_status();
|
lcd_return_to_status();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue