Add load option if autoload is disabled
This commit is contained in:
parent
055f601ad3
commit
a259482b6b
|
|
@ -5383,11 +5383,12 @@ static void lcd_main_menu()
|
|||
} else {
|
||||
#ifdef FILAMENT_SENSOR
|
||||
if (fsensor.isEnabled()) {
|
||||
if (!fsensor.getAutoLoadEnabled()) {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
||||
}
|
||||
if (!fsensor.getFilamentPresent()) {
|
||||
if (fsensor.getAutoLoadEnabled()) {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_AUTOLOAD_FILAMENT), lcd_menu_AutoLoadFilament);
|
||||
} else {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
|
||||
}
|
||||
} else {
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_unLoadFilament);
|
||||
|
|
|
|||
Loading…
Reference in New Issue