From 2f67e75720da0adcfb6ff6ca0f5874448384a3d8 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 15 May 2019 09:13:16 +0200 Subject: [PATCH] Cosmetics --- radio/src/myeeprom.h | 4 ++-- radio/src/opentx.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/myeeprom.h b/radio/src/myeeprom.h index b90a7602a..0d040549f 100644 --- a/radio/src/myeeprom.h +++ b/radio/src/myeeprom.h @@ -487,7 +487,7 @@ PACK(union u_int8int16_t { int16_t word; }); -#define EE_GENERAL 0x01 -#define EE_MODEL 0x02 +constexpr uint8_t EE_GENERAL = 0x01; +constexpr uint8_t EE_MODEL = 0x02; #endif // _MYEEPROM_H_ diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 9bbcfbb5c..8c1d15e73 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1855,7 +1855,7 @@ void opentxInit() opentxStart(); } - // TODO Horus does not need this + // TODO Horus does not need this if (!g_eeGeneral.unexpectedShutdown) { g_eeGeneral.unexpectedShutdown = 1; storageDirty(EE_GENERAL);