From 12434590f40e69c7f853fb395febe70d46a06cc8 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 13 Feb 2019 14:25:24 +0100 Subject: [PATCH] Owner registration initialized from CPU ID --- radio/src/opentx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index ba21b4751..c4666a34d 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -302,7 +302,9 @@ void generalDefault() theme->init(); #endif - memcpy(g_eeGeneral.ownerRegistrationID, &cpu_uid[1], PXX2_LEN_REGISTRATION_ID); + for (uint8_t i=0; i