Fix bug with F_LOCK menu

This commit is contained in:
Armel FAUVEAU
2024-07-19 23:59:57 +02:00
parent 78d1967314
commit 5df29e0955
2 changed files with 6 additions and 0 deletions

View File

@@ -920,7 +920,11 @@ void UI_DisplayMenu(void)
break;
case MENU_F_LOCK:
#ifdef ENABLE_FEAT_F4HWN
if(!gIsInSubMenu && gUnlockAllTxConfCnt>0 && gUnlockAllTxConfCnt<3)
#else
if(!gIsInSubMenu && gUnlockAllTxConfCnt>0 && gUnlockAllTxConfCnt<10)
#endif
strcpy(String, "READ\nMANUAL");
else
strcpy(String, gSubMenu_F_LOCK[gSubMenuSelection]);