Fixed registration ID

This commit is contained in:
Raphael Coeffic
2021-06-05 20:29:09 +02:00
committed by Raphael Coeffic
parent 27252a41ac
commit 31071cc0fc
3 changed files with 32 additions and 6 deletions
+6 -1
View File
@@ -121,6 +121,8 @@ void menuRadioSetup(event_t event)
}
#endif
uint8_t old_editMode = s_editMode;
MENU(STR_RADIO_SETUP, menuTabGeneral, MENU_RADIO_SETUP, ITEM_RADIO_SETUP_MAX, {
2, // date
2, // time
@@ -440,7 +442,10 @@ void menuRadioSetup(event_t event)
#if defined(PXX2)
case ITEM_RADIO_SETUP_OWNER_ID:
editSingleName(RADIO_SETUP_2ND_COLUMN, y, STR_OWNER_ID, g_eeGeneral.ownerRegistrationID, PXX2_LEN_REGISTRATION_ID, event, attr);
editSingleName(RADIO_SETUP_2ND_COLUMN, y, STR_OWNER_ID,
g_eeGeneral.ownerRegistrationID,
PXX2_LEN_REGISTRATION_ID, event, attr,
old_editMode);
break;
#endif