0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Fixed error I made in makefile (python call now works - IF you have python installed)

This commit is contained in:
OneOfEleven
2023-09-21 07:31:29 +01:00
parent 5fe4e81c79
commit 835378c78c
23 changed files with 196 additions and 49 deletions

View File

@ -39,7 +39,7 @@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif
const char MenuList[][7] =
const char *MenuList[] =
{
"SQL",
"STEP",
@ -74,6 +74,7 @@ const char MenuList[][7] =
"STE",
"RP-STE",
"MIC",
"MICBAR",
#ifdef ENABLE_COMPANDER
"COMPND",
#endif
@ -118,7 +119,7 @@ const char MenuList[][7] =
"TX-EN", // enable TX
"F-CALI", // reference xtal calibration
"" // end of list - DO NOT DELETE THIS ! .. I use this to compute this list size
NULL // end of list - DO NOT DELETE THIS
};
const char gSubMenu_TXP[3][5] =
@ -325,6 +326,12 @@ void UI_DisplayMenu(void)
}
break;
#ifdef ENABLE_AUDIO_BAR
case MENU_MIC_BAR:
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
break;
#endif
case MENU_STEP:
sprintf(String, "%d.%02uKHz", StepFrequencyTable[gSubMenuSelection] / 100, abs(StepFrequencyTable[gSubMenuSelection]) % 100);
break;