mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 22:35:12 +03:00
37 lines
1.5 KiB
Lua
37 lines
1.5 KiB
Lua
local toolName = "TNS|Crossfire configure|TNE"
|
|
|
|
---- #########################################################################
|
|
---- # #
|
|
---- # Copyright (C) OpenTX #
|
|
-----# #
|
|
---- # License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html #
|
|
---- # #
|
|
---- # This program is free software; you can redistribute it and/or modify #
|
|
---- # it under the terms of the GNU General Public License version 2 as #
|
|
---- # published by the Free Software Foundation. #
|
|
---- # #
|
|
---- # This program is distributed in the hope that it will be useful #
|
|
---- # but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
---- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
---- # GNU General Public License for more details. #
|
|
---- # #
|
|
---- #########################################################################
|
|
|
|
|
|
|
|
-- Init
|
|
local function init()
|
|
end
|
|
|
|
-- Run
|
|
local function run(event)
|
|
if event == nil then
|
|
error("Cannot run as a model script!")
|
|
return 2
|
|
end
|
|
|
|
chdir("/SCRIPTS/TOOLS/CROSSFIRE")
|
|
return "crossfire.lua"
|
|
end
|
|
|
|
return { init=init, run=run }
|