Skip to content

Commit

Permalink
Disable filament checks inside the Move -> Extruder menu
Browse files Browse the repository at this point in the history
  • Loading branch information
wavexx committed Jun 14, 2019
1 parent c5d130e commit 22b440d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7729,7 +7729,7 @@ bool bInhibitFlag;
#ifdef IR_SENSOR
bInhibitFlag=(menu_menu==lcd_menu_show_sensors_state); // Support::SensorInfo menu active
#endif // IR_SENSOR
if ((mcode_in_progress != 600) && (eFilamentAction != FilamentAction::AutoLoad) && (!bInhibitFlag)) //M600 not in progress, preHeat @ autoLoad menu not active, Support::ExtruderInfo/SensorInfo menu not active
if ((mcode_in_progress != 600) && (eFilamentAction != FilamentAction::AutoLoad) && (!bInhibitFlag) && (menu_menu != lcd_move_e)) //M600 not in progress, preHeat @ autoLoad menu not active, Support::ExtruderInfo/SensorInfo menu not active
{
if (!moves_planned() && !IS_SD_PRINTING && !is_usb_printing && (lcd_commands_type != LcdCommands::Layer1Cal) && !wizard_active)
{
Expand Down
2 changes: 1 addition & 1 deletion Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2902,7 +2902,7 @@ static void _lcd_move(const char *name, int axis, int min, int max)
}


static void lcd_move_e()
void lcd_move_e()
{
if (degHotend0() > EXTRUDE_MINTEMP)
{
Expand Down
1 change: 1 addition & 0 deletions Firmware/ultralcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ void lcd_farm_sdcard_menu_w();

void lcd_wait_for_heater();
void lcd_wait_for_cool_down();
void lcd_move_e(); // NOT static due to usage in Marlin_main
void lcd_extr_cal_reset();

void lcd_temp_cal_show_result(bool result);
Expand Down

0 comments on commit 22b440d

Please sign in to comment.