Skip to content
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
7 changes: 7 additions & 0 deletions src/SCRIPTS/ELRS/version.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---------------------------------------------------------------------------
-- Package Version --
-- "dev" in the source tree; release builds write the semver version --
-- (or a short commit hash) here. --
---------------------------------------------------------------------------

return "dev"
3 changes: 2 additions & 1 deletion src/SCRIPTS/TOOLS/ExpressLRS/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
---- # Unified tool for BW and color LCD radios (EdgeTX 2.11.6+/2.12.1+) #
---- #########################################################################

local VERSION = "r3"
local useLvgl = (lvgl ~= nil)

---@diagnostic disable-next-line: need-check-nil
local loader = loadScript("/SCRIPTS/ELRS/loader.lua")()

local VERSION = loader("/SCRIPTS/ELRS/version.lua")

local crsf = loader("/SCRIPTS/ELRS/crsf.lua")
local params = loader("/SCRIPTS/ELRS/crsf_params.lua", crsf)
local CRSFSession = loader("/SCRIPTS/ELRS/crsf_session.lua", crsf, params)
Expand Down
3 changes: 2 additions & 1 deletion src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
---- # License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html #
---- #########################################################################

local VERSION = "r1"
local useLvgl = (lvgl ~= nil)

---@diagnostic disable-next-line: need-check-nil
local loader = loadScript("/SCRIPTS/ELRS/loader.lua")()

local VERSION = loader("/SCRIPTS/ELRS/version.lua")

local crsf = loader("/SCRIPTS/ELRS/crsf.lua")
local msp = loader("/SCRIPTS/ELRS/msp.lua", crsf)
local defer = loader("/SCRIPTS/ELRS/defer.lua")
Expand Down