0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00
This commit is contained in:
OneOfEleven
2023-09-12 11:49:16 +01:00
parent 1ea5470254
commit 08658f8b82
6 changed files with 16 additions and 10 deletions

View File

@ -509,10 +509,9 @@ void UI_DisplayMenu(void)
break;
case MENU_D_LIST:
gIsDtmfContactValid = DTMF_GetContact((uint8_t)gSubMenuSelection - 1, Contact);
gIsDtmfContactValid = DTMF_GetContact((int)gSubMenuSelection - 1, Contact);
if (!gIsDtmfContactValid)
// Ghidra being weird again...
memcpy(String, "NULL\0\0\0", 8);
strcpy(String, "NULL");
else
memcpy(String, Contact, 8);
break;