Improve hidden menus (issue #71)

This commit is contained in:
Armel FAUVEAU
2024-05-02 04:45:42 +02:00
parent a79edc96d8
commit df1cceb160

4
main.c
View File

@@ -117,6 +117,10 @@ void Main(void)
if (BootMode == BOOT_MODE_F_LOCK) if (BootMode == BOOT_MODE_F_LOCK)
{ {
gF_LOCK = true; // flag to say include the hidden menu items gF_LOCK = true; // flag to say include the hidden menu items
#ifdef ENABLE_FEAT_F4HWN
gEeprom.KEY_LOCK = 0;
gMenuCursor = 63; // move to hidden section, fix me if change... !!!
#endif
} }
// count the number of menu items // count the number of menu items