🧑‍💻 HAS_MARLINUI_MENU, HAS_MANUAL_MOVE_MENU

This commit is contained in:
Scott Lahteine
2022-01-25 15:33:03 -06:00
parent 33c89547f0
commit 2dcc3ddeed
63 changed files with 201 additions and 197 deletions

View File

@ -40,7 +40,7 @@ uint32_t Password::value, Password::value_entry;
//
void Password::lock_machine() {
is_locked = true;
TERN_(HAS_LCD_MENU, authenticate_user(ui.status_screen, screen_password_entry));
TERN_(HAS_MARLINUI_MENU, authenticate_user(ui.status_screen, screen_password_entry));
}
//
@ -55,7 +55,7 @@ void Password::authentication_check() {
is_locked = true;
SERIAL_ECHOLNPGM(STR_WRONG_PASSWORD);
}
TERN_(HAS_LCD_MENU, authentication_done());
TERN_(HAS_MARLINUI_MENU, authentication_done());
}
#endif // PASSWORD_FEATURE

View File

@ -33,7 +33,7 @@ public:
static void lock_machine();
static void authentication_check();
#if HAS_LCD_MENU
#if HAS_MARLINUI_MENU
static void access_menu_password();
static void authentication_done();
static void media_gatekeeper();