Refresh UUID each run

This commit is contained in:
3djc
2018-03-04 10:19:47 +01:00
parent 455093ca23
commit c905ed0338
3 changed files with 10 additions and 16 deletions
+1 -3
View File
@@ -33,9 +33,7 @@ void menuRadioVersion(event_t event)
#if defined(STM32) #if defined(STM32)
char id[27]; char id[27];
if (event == EVT_ENTRY) { getCPUUniqueID(id);
getCPUUniqueID(id);
}
#endif #endif
SIMPLE_MENU(STR_MENUVERSION, menuTabGeneral, MENU_RADIO_VERSION, 1); SIMPLE_MENU(STR_MENUVERSION, menuTabGeneral, MENU_RADIO_VERSION, 1);
+1 -3
View File
@@ -30,9 +30,7 @@ void menuRadioVersion(event_t event)
NVIC_SystemReset(); NVIC_SystemReset();
} }
if (event == EVT_ENTRY) { getCPUUniqueID(id);
getCPUUniqueID(id);
}
SIMPLE_MENU(STR_MENUVERSION, menuTabGeneral, MENU_RADIO_VERSION, 1); SIMPLE_MENU(STR_MENUVERSION, menuTabGeneral, MENU_RADIO_VERSION, 1);
+1 -3
View File
@@ -32,9 +32,7 @@ bool menuRadioVersion(event_t event)
} }
#endif #endif
if (event == EVT_ENTRY) { getCPUUniqueID(id);
getCPUUniqueID(id);
}
SIMPLE_MENU(STR_MENUVERSION, RADIO_ICONS, menuTabGeneral, MENU_RADIO_VERSION, 0); SIMPLE_MENU(STR_MENUVERSION, RADIO_ICONS, menuTabGeneral, MENU_RADIO_VERSION, 0);