Remove unused variable bFilamentFirstRun
flash: 0 RAM: -1
This commit is contained in:
parent
4ded6f195e
commit
25350dfbbc
@ -9746,7 +9746,6 @@ if(0)
|
||||
lcd_update_enable(true);
|
||||
*/
|
||||
eFilamentAction=FilamentAction::AutoLoad;
|
||||
bFilamentFirstRun=false;
|
||||
if(target_temperature[0] >= extrude_min_temp){
|
||||
bFilamentPreheatState=true;
|
||||
// mFilamentItem(target_temperature[0],target_temperature_bed);
|
||||
|
@ -1833,7 +1833,6 @@ void lcd_set_filament_oq_meass()
|
||||
|
||||
|
||||
FilamentAction eFilamentAction=FilamentAction::None; // must be initialized as 'non-autoLoad'
|
||||
bool bFilamentFirstRun;
|
||||
bool bFilamentPreheatState;
|
||||
bool bFilamentAction=false;
|
||||
static bool bFilamentWaitingFlag=false;
|
||||
@ -2343,7 +2342,6 @@ static void lcd_menu_AutoLoadFilament()
|
||||
|
||||
static void preheat_or_continue()
|
||||
{
|
||||
bFilamentFirstRun = false;
|
||||
if (target_temperature[0] >= extrude_min_temp)
|
||||
{
|
||||
bFilamentPreheatState = true;
|
||||
@ -5584,7 +5582,6 @@ static void mmu_cut_filament_menu()
|
||||
else
|
||||
{
|
||||
eFilamentAction=FilamentAction::MmuCut;
|
||||
bFilamentFirstRun=false;
|
||||
if(target_temperature[0] >= extrude_min_temp)
|
||||
{
|
||||
bFilamentPreheatState=true;
|
||||
@ -5983,10 +5980,8 @@ static void lcd_main_menu()
|
||||
else
|
||||
#endif //FILAMENT_SENSOR
|
||||
{
|
||||
bFilamentFirstRun=true;
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
||||
}
|
||||
bFilamentFirstRun=true;
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_unLoadFilament);
|
||||
}
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_SETTINGS), lcd_settings_menu);
|
||||
|
@ -182,7 +182,6 @@ enum class FilamentAction : uint_least8_t
|
||||
};
|
||||
|
||||
extern FilamentAction eFilamentAction;
|
||||
extern bool bFilamentFirstRun;
|
||||
extern bool bFilamentPreheatState;
|
||||
extern bool bFilamentAction;
|
||||
void mFilamentItem(uint16_t nTemp,uint16_t nTempBed);
|
||||
|
Loading…
Reference in New Issue
Block a user