Improve KeyLck (0 to 10min)

This commit is contained in:
Armel FAUVEAU
2024-10-09 01:29:13 +02:00
parent 5478cc05ac
commit 31c17fa2ac
5 changed files with 12 additions and 6 deletions

View File

@@ -705,7 +705,10 @@ void UI_DisplayMenu(void)
break;
case MENU_AUTOLK:
strcpy(String, (gSubMenuSelection == 0) ? "OFF" : "AUTO");
if (gSubMenuSelection == 0)
strcpy(String, "OFF");
else
sprintf(String, "%02dm:%02ds", ((gSubMenuSelection * 15) / 60), ((gSubMenuSelection * 15) % 60));
break;
case MENU_COMPAND: