From 9ae429e03bc43d5e6e7382a5b1efa2f704f1dd11 Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 9 Sep 2017 13:43:38 +0200 Subject: [PATCH] Shouldn't copyright be there too ? (#5200) --- radio/sdcard/horus/CROSSFIRE/crossfire.lua | 20 ++++++++++++++++++-- radio/sdcard/horus/CROSSFIRE/device.lua | 20 ++++++++++++++++++-- radio/sdcard/horus/SCRIPTS/WIZARD/plane/wizard.lua | 16 ++++++++++++++++ radio/sdcard/horus/SxR/SxR.lua | 16 ++++++++++++++++ radio/sdcard/horus/SxR/SxR_Calibrate.lua | 16 ++++++++++++++++ radio/sdcard/horus/WIDGETS/Counter/main.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x7/CROSSFIRE/crossfire.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x7/CROSSFIRE/device.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x7/SxR/SxR.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x7/SxR/SxR_Calibrate.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/CROSSFIRE/crossfire.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/CROSSFIRE/device.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/SCRIPTS/WIZARD/delta.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/SCRIPTS/WIZARD/multi.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/SCRIPTS/WIZARD/plane.lua | 17 +++++++++++++++++ radio/sdcard/taranis-x9/SCRIPTS/WIZARD/wizard.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/SxR/SxR.lua | 16 ++++++++++++++++ radio/sdcard/taranis-x9/SxR/SxR_Calibrate.lua | 16 ++++++++++++++++ 18 files changed, 293 insertions(+), 4 deletions(-) diff --git a/radio/sdcard/horus/CROSSFIRE/crossfire.lua b/radio/sdcard/horus/CROSSFIRE/crossfire.lua index eb04f11ad..6606f0aaa 100644 --- a/radio/sdcard/horus/CROSSFIRE/crossfire.lua +++ b/radio/sdcard/horus/CROSSFIRE/crossfire.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local devices = { } local lineIndex = 1 local pageOffset = 0 @@ -82,8 +98,8 @@ local function run(event) lcd.clear() lcd.drawFilledRectangle(0, 0, LCD_W, 30, TITLE_BGCOLOR) lcd.drawText(1, 5,"CROSSFIRE SETUP", MENU_TITLE_COLOR) - - + + if #devices == 0 then lcd.drawText(NoCross[1],NoCross[2],NoCross[3],NoCross[4]) else diff --git a/radio/sdcard/horus/CROSSFIRE/device.lua b/radio/sdcard/horus/CROSSFIRE/device.lua index 424a45bbb..811f01847 100644 --- a/radio/sdcard/horus/CROSSFIRE/device.lua +++ b/radio/sdcard/horus/CROSSFIRE/device.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local deviceId = 0 local deviceName = "" local lineIndex = 0 @@ -452,11 +468,11 @@ local function runDevicePage(event) selectField(-1) end end - + lcd.clear() lcd.drawFilledRectangle(0, 0, LCD_W, 30, TITLE_BGCOLOR) lcd.drawText(1, 5,deviceName, MENU_TITLE_COLOR) - + for y = 1, 11 do local field = getField(pageOffset+y) if not field then diff --git a/radio/sdcard/horus/SCRIPTS/WIZARD/plane/wizard.lua b/radio/sdcard/horus/SCRIPTS/WIZARD/plane/wizard.lua index 44d1e9038..2e49ae7f2 100755 --- a/radio/sdcard/horus/SCRIPTS/WIZARD/plane/wizard.lua +++ b/radio/sdcard/horus/SCRIPTS/WIZARD/plane/wizard.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/horus/SxR/SxR.lua b/radio/sdcard/horus/SxR/SxR.lua index 766a08a63..726c4af79 100755 --- a/radio/sdcard/horus/SxR/SxR.lua +++ b/radio/sdcard/horus/SxR/SxR.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/horus/SxR/SxR_Calibrate.lua b/radio/sdcard/horus/SxR/SxR_Calibrate.lua index 71c6c44bd..f858d82f8 100755 --- a/radio/sdcard/horus/SxR/SxR_Calibrate.lua +++ b/radio/sdcard/horus/SxR/SxR_Calibrate.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/horus/WIDGETS/Counter/main.lua b/radio/sdcard/horus/WIDGETS/Counter/main.lua index ff00dacdd..1a68badcf 100644 --- a/radio/sdcard/horus/WIDGETS/Counter/main.lua +++ b/radio/sdcard/horus/WIDGETS/Counter/main.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local options = { { "Option1", SOURCE, 1 }, { "Option2", VALUE, 1000 }, diff --git a/radio/sdcard/taranis-x7/CROSSFIRE/crossfire.lua b/radio/sdcard/taranis-x7/CROSSFIRE/crossfire.lua index 14c84f18b..0870b1b40 100644 --- a/radio/sdcard/taranis-x7/CROSSFIRE/crossfire.lua +++ b/radio/sdcard/taranis-x7/CROSSFIRE/crossfire.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local devices = { } local lineIndex = 1 local pageOffset = 0 diff --git a/radio/sdcard/taranis-x7/CROSSFIRE/device.lua b/radio/sdcard/taranis-x7/CROSSFIRE/device.lua index 024ccf22f..b1a5c0ec6 100644 --- a/radio/sdcard/taranis-x7/CROSSFIRE/device.lua +++ b/radio/sdcard/taranis-x7/CROSSFIRE/device.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local deviceId = 0 local deviceName = "" local lineIndex = 0 diff --git a/radio/sdcard/taranis-x7/SxR/SxR.lua b/radio/sdcard/taranis-x7/SxR/SxR.lua index 8d1615502..f663cc93a 100644 --- a/radio/sdcard/taranis-x7/SxR/SxR.lua +++ b/radio/sdcard/taranis-x7/SxR/SxR.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/taranis-x7/SxR/SxR_Calibrate.lua b/radio/sdcard/taranis-x7/SxR/SxR_Calibrate.lua index 8ab4be53f..9f7f81626 100644 --- a/radio/sdcard/taranis-x7/SxR/SxR_Calibrate.lua +++ b/radio/sdcard/taranis-x7/SxR/SxR_Calibrate.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/taranis-x9/CROSSFIRE/crossfire.lua b/radio/sdcard/taranis-x9/CROSSFIRE/crossfire.lua index c87c35c3e..c446170a1 100644 --- a/radio/sdcard/taranis-x9/CROSSFIRE/crossfire.lua +++ b/radio/sdcard/taranis-x9/CROSSFIRE/crossfire.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local devices = { } local lineIndex = 1 local pageOffset = 0 diff --git a/radio/sdcard/taranis-x9/CROSSFIRE/device.lua b/radio/sdcard/taranis-x9/CROSSFIRE/device.lua index e1fb2d396..fd60fd85c 100644 --- a/radio/sdcard/taranis-x9/CROSSFIRE/device.lua +++ b/radio/sdcard/taranis-x9/CROSSFIRE/device.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local deviceId = 0 local deviceName = "" local lineIndex = 0 diff --git a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/delta.lua b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/delta.lua index b2a8eda07..bc9a05ee8 100644 --- a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/delta.lua +++ b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/delta.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### -- Delta Wizard pages local ENGINE_PAGE = 0 local ELEVONS_PAGE = 1 diff --git a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/multi.lua b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/multi.lua index 53866eab2..e99c84af8 100644 --- a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/multi.lua +++ b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/multi.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### -- Multicopter Wizard pages local THROTTLE_PAGE = 0 local ROLL_PAGE = 1 diff --git a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/plane.lua b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/plane.lua index d3ca0d2de..14321803c 100644 --- a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/plane.lua +++ b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/plane.lua @@ -1,3 +1,20 @@ + +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### -- Plane Wizard pages local ENGINE_PAGE = 0 local AILERONS_PAGE = 1 diff --git a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/wizard.lua b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/wizard.lua index 55bd5f1be..538212201 100644 --- a/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/wizard.lua +++ b/radio/sdcard/taranis-x9/SCRIPTS/WIZARD/wizard.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### -- Navigation variables local dirty = true diff --git a/radio/sdcard/taranis-x9/SxR/SxR.lua b/radio/sdcard/taranis-x9/SxR/SxR.lua index 5c485bcee..1bb1da176 100644 --- a/radio/sdcard/taranis-x9/SxR/SxR.lua +++ b/radio/sdcard/taranis-x9/SxR/SxR.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 diff --git a/radio/sdcard/taranis-x9/SxR/SxR_Calibrate.lua b/radio/sdcard/taranis-x9/SxR/SxR_Calibrate.lua index ee7e81e41..b75d7fcea 100644 --- a/radio/sdcard/taranis-x9/SxR/SxR_Calibrate.lua +++ b/radio/sdcard/taranis-x9/SxR/SxR_Calibrate.lua @@ -1,3 +1,19 @@ +---- ######################################################################### +---- # # +---- # 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. # +---- # # +---- ######################################################################### local VALUE = 0 local COMBO = 1 -- 2.11.4.GIT