mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Improve Power and SetPwr menu
This commit is contained in:
1 parent
3018e0617d
commit
3d59dada22
1 file changed
+9
-2
@@ -590,7 +590,14 @@ void UI_DisplayMenu(void)
|
||||
}
|
||||
|
||||
case MENU_TXP:
|
||||
strcpy(String, gSubMenu_TXP[gSubMenuSelection]);
|
||||
if(gSubMenuSelection == 0)
|
||||
{
|
||||
strcpy(String, gSubMenu_TXP[gSubMenuSelection]);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(String, "%s\n%s", gSubMenu_TXP[gSubMenuSelection], gSubMenu_SET_PWR[gSubMenuSelection - 1]);
|
||||
}
|
||||
break;
|
||||
|
||||
case MENU_R_DCS:
|
||||
@@ -953,7 +960,7 @@ void UI_DisplayMenu(void)
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
case MENU_SET_PWR:
|
||||
strcpy(String, gSubMenu_SET_PWR[gSubMenuSelection]);
|
||||
sprintf(String, "%s\n%s", gSubMenu_TXP[gSubMenuSelection + 1], gSubMenu_SET_PWR[gSubMenuSelection ]);
|
||||
break;
|
||||
|
||||
case MENU_SET_PTT:
|
||||
|
||||
Reference in new issue
Block a user