Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.8.0 #450

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## INAV Lua Telemetry Flight Status for Taranis/Horus/Jumper/Nirvana - v1.7.5
## INAV Lua Telemetry Flight Status for Taranis/Horus/Jumper/Nirvana - v1.8.0

> The new home for Lua Telemetry:
>
Expand Down
4 changes: 3 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ luac52 -s -o obj/lang.luac src/iNav/lang.lua
luac52 -s -o obj/lang_de.luac src/iNav/lang_de.lua
luac52 -s -o obj/lang_es.luac src/iNav/lang_es.lua
luac52 -s -o obj/lang_fr.luac src/iNav/lang_fr.lua
luac52 -s -o obj/lang_fr.luac src/iNav/lang_ro.lua
luac52 -s -o obj/lang_fr.luac src/iNav/lang_ru.lua
luac52 -s -o obj/load.luac src/iNav/load.lua
luac52 -s -o obj/log_c.luac src/iNav/log_c.lua
luac52 -s -o obj/log_s.luac src/iNav/log_s.lua
Expand All @@ -35,4 +37,4 @@ luac52 -s -o obj/view.luac src/iNav/view.lua
rm -fR obj/

echo
echo Complete
echo Complete
4 changes: 2 additions & 2 deletions src/iNav.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- Docs: https://github.com/teckel12/LuaTelemetry

local buildMode = ...
local VERSION = "1.7.5"
local VERSION = "1.8.0"
local FILE_PATH = "/SCRIPTS/TELEMETRY/iNav/"
local SMLCD = LCD_W < 212
local HORUS = LCD_W >= 480 or LCD_H >= 480
Expand Down Expand Up @@ -533,4 +533,4 @@ local function run(event)
return 0
end

return { run = run, background = background }
return { run = run, background = background }
2 changes: 1 addition & 1 deletion src/iNav/save.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if fh ~= nil then
for i = 1, #config do
if config[i].d == nil then
io.write(fh, frmt("%0" .. config[i].c .. "d", max(config[i].v, 0)))
else
else
io.write(fh, floor(max(config[i].v, 0) * 10))
end
end
Expand Down