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 Apr 24, 2019
1 parent e8f4c87 commit 2d645f5
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 @@ -7667,7 +7667,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 != e_FILAMENT_ACTION_autoLoad) && (!bInhibitFlag)) //M600 not in progress, preHeat @ autoLoad menu not active, Support::ExtruderInfo/SensorInfo menu not active
if ((mcode_in_progress != 600) && (eFilamentAction != e_FILAMENT_ACTION_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 != LCD_COMMAND_V2_CAL) && !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 @@ -3068,7 +3068,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 @@ -171,6 +171,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 2d645f5

Please sign in to comment.