Skip to content

Commit

Permalink
"final" cleanups of the fallout from the ETX log name change
Browse files Browse the repository at this point in the history
  • Loading branch information
stronnag committed Jul 27, 2023
1 parent e080a5f commit 7d33c24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SCRIPTS/TELEMETRY/iNav/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ local config = {
{ o = 29, c = 1, v = 0 }, -- Center Map Home - 31
{ o = 30, c = 1, v = 0 }, -- Orientation - 32
{ o = 26, c = 1, v = 0 }, -- Roll Scale - 33
{ o = 34, c = 1, v = 0, l = {[0] = "?"} }, -- Review Log Date - 34
{ o = 34, c = 1, v = 0, l = {[0] = "?"}, x = -1 }, -- Review Log Date - 34
}

for i = 1, #config do
Expand Down
1 change: 0 additions & 1 deletion src/SCRIPTS/TELEMETRY/iNav/load_ec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
local config, data, FILE_PATH = ...

local log = getDateTime()
config[34].x = -1

-- From EdgeTX 2.7.1 (at least) we don't need to translate spaces
local mbase = model.getInfo().name .. "-20"
Expand Down
1 change: 1 addition & 0 deletions src/SCRIPTS/TELEMETRY/iNav/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ local function view(data, config, units, lang, event, gpsDegMin, getTelemetryId,
end

-- Disabled options
config2[34].p = (not HORUS and data.etx) and 1 or nil -- disable log playback BW Edge
config2[7].p = data.vspeed_id == -1 and 1 or nil
config2[15].p = not HORUS and 1 or nil
config2[20].p = not data.pitot and 1 or nil
Expand Down

0 comments on commit 7d33c24

Please sign in to comment.