Merge pull request #4755 from sarusani/AddLoadIfAutoloadDisabled
Add "load filament" if autoload is disabled
This commit is contained in:
commit
6c99a4463e
|
|
@ -5319,11 +5319,12 @@ static void lcd_main_menu()
|
||||||
} else {
|
} else {
|
||||||
#ifdef FILAMENT_SENSOR
|
#ifdef FILAMENT_SENSOR
|
||||||
if (fsensor.isEnabled()) {
|
if (fsensor.isEnabled()) {
|
||||||
|
if (!fsensor.getAutoLoadEnabled()) {
|
||||||
|
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
||||||
|
}
|
||||||
if (!fsensor.getFilamentPresent()) {
|
if (!fsensor.getFilamentPresent()) {
|
||||||
if (fsensor.getAutoLoadEnabled()) {
|
if (fsensor.getAutoLoadEnabled()) {
|
||||||
MENU_ITEM_SUBMENU_P(_T(MSG_AUTOLOAD_FILAMENT), lcd_menu_AutoLoadFilament);
|
MENU_ITEM_SUBMENU_P(_T(MSG_AUTOLOAD_FILAMENT), lcd_menu_AutoLoadFilament);
|
||||||
} else {
|
|
||||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_unLoadFilament);
|
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_unLoadFilament);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue