Improve hidden menus (issue #71)
This commit is contained in:
6
main.c
6
main.c
@@ -119,12 +119,8 @@ void Main(void)
|
|||||||
{
|
{
|
||||||
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
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
uint8_t Data[8] = {0};
|
|
||||||
EEPROM_ReadBuffer(0x0E70, Data, 8);
|
|
||||||
gEeprom.KEY_LOCK = 0;
|
gEeprom.KEY_LOCK = 0;
|
||||||
Data[4] = 0;
|
SETTINGS_SaveSettings();
|
||||||
EEPROM_WriteBuffer(0x0E70, Data);
|
|
||||||
|
|
||||||
gMenuCursor = 63; // move to hidden section, fix me if change... !!!
|
gMenuCursor = 63; // move to hidden section, fix me if change... !!!
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user