From e0544e2d1e9aaed7017d1ea16d8d44347d34101f Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 5 Mar 2016 11:44:07 +0100 Subject: [PATCH] Test code enabled only in SIMU mode --- radio/src/opentx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index ac394c3b4..6ab363c4a 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1975,7 +1975,8 @@ uint8_t calcStickScroll( uint8_t index ) void opentxStart() { -#if defined(RAMBACKUP) +#if defined(RAMBACKUP) && defined(SIMU) + // TODO just for tests RamBackupWrite(); #endif