From bd2278e3d653fbf95e56d72d16be9b5107827d25 Mon Sep 17 00:00:00 2001 From: Frankie Arzu <32604366+frankiearzu@users.noreply.github.com> Date: Thu, 17 Nov 2022 09:05:10 -0600 Subject: [PATCH] #751 Turn OFF simulation by default Distribution code with RX simulation OFF Simulation should be only for Development --- Lua_scripts/DSM FwdPrg_05_BW.lua | 2 +- Lua_scripts/DSM FwdPrg_05_Color.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lua_scripts/DSM FwdPrg_05_BW.lua b/Lua_scripts/DSM FwdPrg_05_BW.lua index 357ba41..3bbfb9b 100644 --- a/Lua_scripts/DSM FwdPrg_05_BW.lua +++ b/Lua_scripts/DSM FwdPrg_05_BW.lua @@ -17,7 +17,7 @@ local toolName = "TNS|DSM Forward Prog v0.5 (Text B&W) |TNE" ---- # # ---- ######################################################################### -local SIMULATION_ON = true -- FALSE: use real communication to DSM RX (DEFAULT), TRUE: use a simulated version of RX +local SIMULATION_ON = false -- FALSE: use real communication to DSM RX (DEFAULT), TRUE: use a simulated version of RX local DEBUG_ON = 1 -- 0=NO DEBUG, 1=HIGH LEVEL 2=LOW LEVEL (Debug logged into the /LOGS/dsm.log) local DEBUG_ON_LCD = false -- Interactive Information on LCD of Menu data from RX diff --git a/Lua_scripts/DSM FwdPrg_05_Color.lua b/Lua_scripts/DSM FwdPrg_05_Color.lua index ff2c824..f94ff3b 100644 --- a/Lua_scripts/DSM FwdPrg_05_Color.lua +++ b/Lua_scripts/DSM FwdPrg_05_Color.lua @@ -18,7 +18,7 @@ local VERSION = "v0.5" ---- # # ---- ######################################################################### -local SIMULATION_ON = true -- FALSE: use real communication to DSM RX (DEFAULT), TRUE: use a simulated version of RX +local SIMULATION_ON = false -- FALSE: use real communication to DSM RX (DEFAULT), TRUE: use a simulated version of RX local DEBUG_ON = 1 -- 0=NO DEBUG, 1=HIGH LEVEL 2=LOW LEVEL (Debug logged into the /LOGS/dsm.log) local DEBUG_ON_LCD = false -- Interactive Information on LCD of Menu data from RX local USE_SPECKTRUM_COLORS = true -- true: Use spectrum colors, false: use theme colors (default on OpenTX) @@ -567,7 +567,7 @@ local function init_colors() -- LINE SELECTED LCD_SELECTED_COLOR = WHITE LCD_SELECTED_BGCOLOR = ORANGE - LCD_EDIT_BGCOLOR = WARNING_COLOR + LCD_EDIT_BGCOLOR = RED -- NORMAL TEXT LCD_NORMAL_COLOR = BLACK LCD_DISABLE_COLOR = LIGHTGREY