Remove dead code.
This commit is contained in:
parent
e83b2ebe1f
commit
0cdfa7a5e8
@ -1077,13 +1077,6 @@ void mmu_filament_ramming()
|
||||
//-//
|
||||
void extr_unload_()
|
||||
{
|
||||
//if(bFilamentAction)
|
||||
if(0)
|
||||
{
|
||||
bFilamentAction=false;
|
||||
extr_unload();
|
||||
}
|
||||
else {
|
||||
eFilamentAction = FilamentAction::MmuUnLoad;
|
||||
bFilamentFirstRun = false;
|
||||
if (target_temperature[0] >= EXTRUDE_MINTEMP)
|
||||
@ -1091,10 +1084,8 @@ else {
|
||||
bFilamentPreheatState = true;
|
||||
mFilamentItem(target_temperature[0], target_temperature_bed);
|
||||
}
|
||||
// else menu_submenu(mFilamentMenu);
|
||||
else lcd_generic_preheat_menu();
|
||||
}
|
||||
}
|
||||
|
||||
//! @brief show which filament is currently unloaded
|
||||
void extr_unload_view()
|
||||
|
@ -2363,13 +2363,6 @@ mFilamentItem(target_temperature[0],target_temperature_bed);
|
||||
|
||||
void lcd_unLoadFilament()
|
||||
{
|
||||
//./if((degHotend0()>EXTRUDE_MINTEMP)&&bFilamentFirstRun)
|
||||
if(0)
|
||||
{
|
||||
menu_back();
|
||||
enquecommand_P(PSTR("M702")); // unload filament
|
||||
}
|
||||
else {
|
||||
eFilamentAction=FilamentAction::UnLoad;
|
||||
bFilamentFirstRun=false;
|
||||
if(target_temperature[0]>=EXTRUDE_MINTEMP)
|
||||
@ -2379,7 +2372,6 @@ else {
|
||||
}
|
||||
else lcd_generic_preheat_menu();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void lcd_wait_interact() {
|
||||
@ -2595,18 +2587,6 @@ static void lcd_menu_AutoLoadFilament()
|
||||
#endif //FILAMENT_SENSOR
|
||||
|
||||
static void lcd_LoadFilament()
|
||||
{
|
||||
//-// if (degHotend0() > EXTRUDE_MINTEMP)
|
||||
if(0)
|
||||
{
|
||||
// menu_back(); // not necessary (see "lcd_return_to_status()" below)
|
||||
custom_message_type = CustomMsg::FilamentLoading;
|
||||
loading_flag = true;
|
||||
enquecommand_P(PSTR("M701")); //load filament
|
||||
SERIAL_ECHOLN("Loading filament");
|
||||
lcd_return_to_status();
|
||||
}
|
||||
else
|
||||
{
|
||||
eFilamentAction = FilamentAction::Load;
|
||||
bFilamentFirstRun = false;
|
||||
@ -2617,7 +2597,6 @@ if(0)
|
||||
}
|
||||
else lcd_generic_preheat_menu();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//! @brief Show filament used a print time
|
||||
|
Loading…
Reference in New Issue
Block a user