Commit Graph
18195 Commits
Author SHA1 Message Date
CliffandGitHub c7ca1cce0f feat(color): Labels Pgup/Down keys move up down selected label (#2288)
* (fw) Pgup/Down keys move up down selected labels

* Add Long press returns on single page radios

* Rem NV14 keys
2022-09-09 11:13:39 +10:00
Neil HorneandGitHub 7d9ecd275a fix(cpn): Missing brackets in model print (#2297) 2022-09-08 21:42:22 +10:00
David PHAM-VANandGitHub 155a854131 feat(lua): Add several Lua API funcs and constants (#2279)
* LUA: Add Bitmap.toMask and lcd.drawBitmapPattern functions

* LUA: Add lcd.invertRect function

* LUA: Add Bitmap.resize function

* LUA: Add getOutputValue function

* LUA: Add timer showElapsed configuration

* LUA: Add model extendedLimits configuration

* LUA: Add some global constants

* Add model jitterFilter configuration

* Add model.getSwashRing and setSwashRing functions
2022-09-08 20:03:58 +10:00
Neil HorneandGitHub ab640e3055 feat(cpn): Rename model Save to Export (#2296) 2022-09-08 19:10:08 +10:00
Malte LangermannandGitHub 8b7e8c3017 EL18 RF USB switch (#2221)
* feature: added ability to have radio specific menu items in the bootloader
* added enabling/disabling USB access to the RF module via the bootloader
* enable the internal module on EL18, when RF module USB access is enabled
* moved USB switch pin initialization to the NV14/EL18 specific code
* moved EL18 USB switch defines to boot_menu
* feat: added a symbol for RF USB switch menu option on EL18 bootloader
2022-09-08 08:20:49 +02:00
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
CliffandGitHub b0c1315f61 fix(touch): Prevent multiple audio beeps (#2290)
This actually probably an underlying issue in the driver, why it's sending two TE_DOWN events and causing multiple beeps
However, this fix will hold until the touch driver interface is re-written
2022-09-07 21:39:00 +10:00
Raphael CoefficandGitHub 052a344611 Improve gyro/acc range and config (#2113) 2022-09-07 21:21:20 +10:00
David PHAM-VANandGitHub 4ed4f218b4 feat: Allow Lua widget translations (#2275) 2022-09-07 21:18:50 +10:00
3b2f07ae85 fix: Danish special characters on B&W radios (#2271)
* Dannish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* chore: Reset header to `copyright-header` template
`tools/copyright-header.txt` template is what should be used.
Also added line at EoF to make git happy

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-09-07 20:15:08 +10:00
Neil HorneandGitHub 435e4c86f5 fix(cpn): Add model with template crashed simulator (#2289) 2022-09-07 20:13:43 +10:00
eshifriandGitHub 5f4def2f91 fix: Changing label order for only two labels could trigger EM (#2273)
* Fix definition for signed value

* Support changing order of the labels for two labels

* Swap labels when there is only two due to std::rotate limitation

* Change the order with swap.

* Map rebuid added
2022-09-07 18:29:59 +10:00
Neil HorneandGitHub 58a6239ac5 fix(cpn): Companion simulator would crash post add model (#2281) 2022-09-06 21:08:02 +10:00
dlktdrandPeter Feerick aec0639e66 (fw+cpn) libsim not loading models, set mod on new lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 7825f8be74 (fw) Refresh models after rename 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 4067c6df07 (fw,cpn) Support commas in labels
Remove more cpn unused code
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick cd50c0a967 (fw) Remove new label from menu, rework layout 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 644cf4ba1d (fw) Properly set sort button status 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 1f9e93ba70 (fw) Add new label button 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 441d7a25f1 (cpn) Warning if rename to duplicate 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 13bd3b11b7 (fw) Make new label a method
For future use Add a Label Button
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 9a481d6837 (fw) Better handling for blank Labels in labels.yml 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 098a5a0b59 (fw) Clear new label string on open 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 3de67be925 (fw) Fix: Update the title on new model 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 93bfd5b264 (cpn) fix not marking as modified 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 18a51dcf4f (cpn) Fix - Always show checkboxes 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 9131125b58 (cpn) Remove more un-unsed code, new set. add "Fav" lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick d462e24862 (cpn) Labels - Various fixes
Don't allow duplicate
Partial labels of others also selected
Paste doesn't update labels list
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 32a6f792b9 fix(cpn) Delete Label, Import models, Add fav
CMPN: Correct not reading models if no labels.yml

CMPN: Fix crash if no delete with no label selected
2022-09-06 21:04:10 +10:00
David PHAM-VANandPeter Feerick c103abb58b Fix 32 bits negative values YAML saving 2022-09-06 19:53:12 +10:00
Peter FeerickandPeter Feerick c1e8a54e59 fix: TLITE, TPRO and TX12 opp. B/G mapping to X7 2022-09-06 11:49:14 +10:00
Peter FeerickandPeter Feerick 12ecedc377 fix: TX12MK2 GPIOS were still wrong
5992a44 fixed these in part, but further testing shows
STATUS_LED GPIO mapping is same as TLITE/TPRO
2022-09-06 11:49:14 +10:00
Peter FeerickandPeter Feerick 845f9a8fc8 fix: Tweak use of green/red generally by radio 2022-09-06 11:49:14 +10:00
Peter FeerickandPeter Feerick 9abec7a8e7 fix: Set status LED init blue/green by radio 2022-09-06 11:49:14 +10:00
samyalikandPeter Feerick b5308b2c28 Add correct STATUS_LEDS definitions for RADIO_TPRO
I just wanted blue LEDs on my Jumper T-Pro. Instead I found a headache. 

PCBX7 STATUS_LED definitions were being used for RADIO_TPRO, resulting in incorrect GPIO pin assignments for GREEN and BLUE LED colors. LED_GREEN_GPIO_PIN would activate the blue LED, and vice versa for LED_BLUE_GPIO_PIN. 

To rectify this, a new definition for RADIO_TPRO has been created with proper GPIO pin assignments for LED_GREEN and LED_BLUE
2022-09-06 11:49:14 +10:00
elecpowerandPeter Feerick c434f49cae Fix disabled File and Edit menus 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1f50bb29f4 Disable Manuals and other Documents menu action 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 28f38f4c9e Rename update options dialog button labels 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick edbf638357 Fix manual check for updates and some renames 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 3e6a9ddd5a Fix sounds chooser cancel action and improve progress messaging 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 7ce07f5a82 Wording tweak 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d91d289a7 Split housekeeping tasks 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 38749d713d Invoke interactive update mode if any updates found on startup 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 19db99c4c2 Use sounds.json release asset for available languages and variants 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d9f0d7d76 Sounds language pack choice 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 316ab766fa Fix firmware install filter 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 4f089acf65 Minor msg wording change 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick b99514c5b8 Move settingsIdx to private 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 2578c759ce Check if any components flagged as updateable 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick d9237cc320 Tweak dialog sizing 2022-09-06 09:29:41 +10:00