Add rescueops new feature

This commit is contained in:
Armel FAUVEAU
2024-11-13 04:57:08 +01:00
parent b0196f6a34
commit cd5caff593
16 changed files with 187 additions and 23 deletions

View File

@@ -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];