Add rescueops new feature
This commit is contained in:
@@ -44,6 +44,13 @@ BOOT_Mode_t BOOT_GetMode(void)
|
||||
SYSTEM_DelayMs(20);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN_MENU_LOCK
|
||||
if (Keys[0] == KEY_MENU)
|
||||
{
|
||||
return BOOT_MODE_MENU_LOCK; // Menu pressed
|
||||
}
|
||||
#endif
|
||||
|
||||
if (Keys[0] == Keys[1])
|
||||
{
|
||||
gKeyReading0 = Keys[0];
|
||||
|
@@ -24,6 +24,9 @@ enum BOOT_Mode_t
|
||||
{
|
||||
BOOT_MODE_NORMAL = 0,
|
||||
BOOT_MODE_F_LOCK,
|
||||
#ifdef ENABLE_FEAT_F4HWN_MENU_LOCK
|
||||
BOOT_MODE_MENU_LOCK,
|
||||
#endif
|
||||
#ifdef ENABLE_AIRCOPY
|
||||
BOOT_MODE_AIRCOPY
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user