Commit Graph
16419 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 004989ea57 [color] Move touch panel init to UI task
This allows for the timeout checks in I2C code to work properly as they are based on SysTick IRQ, which is started by FreeRTOS when the scheduler is started.

Resolves #803
2021-09-26 10:29:39 +02:00
a4af85ef37 Fix module and trainer subform resizing and show NV14 RF module version (#800)
* Fixes #792
* Add RF module FW version
* Clean(er) implementation
* Whitespace changes cleanup
* Cleanup
* Trainer module fix

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-25 11:42:52 +10:00
Raphael Coeffic 0574f04bde Fixed PCBREV for X10 Express 2021-09-24 18:40:34 +02:00
Peter Feerick ecbe89c0f4 Update libopenui - Fixes #767 2021-09-24 19:35:59 +10:00
Peter FeerickandGitHub 580b9b12bc Add missing audio/haptic when set custom failsafe
Fixes #799
2021-09-23 21:11:34 +10:00
Raphael Coeffic 99048e6389 Pin macOS builds to 10.15
macos-latest is about to change to big sur (11.0).
2021-09-23 09:06:55 +02:00
elecpowerandPeter Feerick 2b3835f567 Remove scale fields artifacts 2021-09-23 09:04:43 +10:00
elecpowerandPeter Feerick 9266ad1f34 Fix model input trims and cosmetic for scale fields 2021-09-22 18:57:27 +10:00
Raphael Coeffic b06cbe92bf Fix define for AFHDS2
Resolves #791
2021-09-22 09:58:16 +02:00
Raphael Coeffic b3da777251 Bumped version to 2.6.0-dev 2021-09-21 08:42:21 +02:00
Raphael Coeffic 982382e164 Aligned / Added 2.5 branch in automatic builds 2021-09-21 08:34:42 +02:00
Raphael CoefficandGitHub 4907ebbf14 Merge pull request #728 from EdgeTX/nv14-internal-module
Nv14 internal module
2021-09-21 08:18:47 +02:00
Peter FeerickandPeter Feerick 482d00d99d Fixes only one column of models
Resolves #636
2021-09-21 16:18:20 +10:00
Peter FeerickandPeter Feerick b62e8c342d Version string on NV14 had unecessary indent 2021-09-21 16:18:20 +10:00
rotormanandRisto 89965ed5b2 Use 32-bit int always. 2021-09-21 08:11:26 +02:00
rotormanandRisto 9570f8595a Removed FlySky digital hall gimbal double value conversion (first using the FlySky factory calibration values min,mid and max to convert to 0 to 4095 and second to convert this value again into EdgeTX internal 11-bit range 0 to 2047).
This has the added benefit of precision increase and also avoiding unnecessary computation. Needed to change to uint32_t, as the jitter removal computation would otherwise go over the 16-bit range. As 16-bit computation can be left for "normal" sticks, added a special define just for FLYSKY_HALL_STICKS.

In addition this PR changes back the radio analogs diagnose page second column also for FlySky digital hall sticks to show +/- 100 again, as now with first and second column we already cover all internal ranges used.

Tested on RM TX16S with FlySky digital hall sticks.
2021-09-21 08:11:26 +02:00
Peter FeerickandPeter Feerick e51ffb110a Replacement icon masks thanks to @JimB40
Resolves #752
2021-09-21 09:01:17 +10:00
Raphael CoefficandPeter Feerick 64a87812bb [color] do not use setValue() in SourceChoice / SwitchChoice
This potentially deletes the source/switch choice, which then triggers a "use-after-free".

Resolves #759
2021-09-20 11:04:11 +10:00
Raphael Coeffic 66b523cf88 Fixed workflow name patterns 2021-09-19 16:55:48 +02:00
Raphael Coeffic f554c12337 Fixed Companion artifacts names 2021-09-19 16:49:44 +02:00
Raphael Coeffic 571465668f Fixed ifdefs for AFHDS2A & AFHDS3 2021-09-19 16:26:10 +02:00
Raphael Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic bc2a0810bd AFHDS2A is not available for external modules 2021-09-19 16:17:47 +02:00
Raphael Coeffic 4a79480e5e Prevent AFHDS2A from being used as an external module
The pulses code for that module does not support it.
2021-09-19 16:17:47 +02:00
Raphael Coeffic f7214862e4 Removed extra debug 2021-09-19 16:17:47 +02:00
Raphael Coeffic 5e091faba4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic e0a8b3d8c3 Added RX options (PWM/PPM, iBUS/SBUS) 2021-09-19 16:17:47 +02:00
Raphael Coeffic 7e3b06bffd Disable range checking mode on AFHDS2A modules (does not work) 2021-09-19 16:17:47 +02:00
Raphael Coeffic f7af8f1e98 Force set AFHDS2A subType on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic b0147a43d0 Fixed telemetry 2021-09-19 16:17:47 +02:00
Raphael Coeffic 78d8d976b4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic c374e3369b Send pulses as well.... 2021-09-19 16:17:47 +02:00
Raphael Coeffic 8d46737e56 Remove useless setFlyskyState()
This is already done in resetPulsesAFHDS2()
2021-09-19 16:17:47 +02:00
Raphael Coeffic 0e12166786 Avoid circular header dependencies 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic c389000713 Enable pulses for AFHDS2A (avoids WDG reset) 2021-09-19 16:17:47 +02:00
Raphael Coeffic e90c300bf4 Clean-up / renaming MODULE_TYPE_AFHDS3 to MODULE_TYPE_FLYSKY 2021-09-19 16:17:47 +02:00
elecpowerandPeter Feerick 5596211be8 Fix input scale decimals, add sensor unit, add scale to inputs list and model print 2021-09-19 22:29:40 +10:00
Raphael Coeffic e6cdb7623b Allow Companion build on version tags on main and 2.5 branch 2021-09-19 14:13:37 +02:00
Raphael CoefficandRaphael Coeffic 366290307a Fixed commit-tests 2021-09-19 14:08:13 +02:00
Raphael CoefficandRisto 68d9162cb4 Make FS hall sticks EXT3 EXT4 optional
As this breaks Companion model editing for now (see issue #758).
2021-09-19 13:49:47 +02:00
Raphael CoefficandGitHub 4546f885ec Add capability to build more firmwares than scheduled for tests (#510)
* Add capability to build more firmwares than scheduled for tests

* Fixed casing for tx16s-fs target

* Fixed target names in YAML & added new ones to fw.json

* Remove unsupported "autoupdate"

* Update nightly targets
2021-09-19 19:44:25 +10:00
Raphael CoefficandGitHub 4c1af2bf36 Merge pull request #755 from EdgeTX/fix-299
Fix max # channels and default channel range
2021-09-18 14:13:48 +02:00
CliffandGitHub 3dedcad75a Category editor (#725)
* Allow model moving between categories

* Initial Commit - Categories Editor

* Don't allow move of active models & save

* Create group for categories, add, remove, delete working.

One glitch on add still...

* allow index choice on tabs page build

* Don't allow setting name null

* Change layout

* Null terminate string + save

* Optionally hide delete button

* Allow add a new model on touch if there are none

* Remove seperator

* Fix compiler warning

* Assign not compare

* Add Translation Strings for Model Categories and Models

* Use translated strings

* Update libopenui

* Add extra newline so scrolls proper

* Update libopenui
2021-09-18 21:21:57 +10:00
Raphael Coeffic ccc83b9d2e Set the record straight on GHST channels 2021-09-18 13:03:51 +02:00
Raphael Coeffic b5da0e164c Add GHST and SBUS to the list of protos with fixed # channels
The end-channel is thus non-editable.
2021-09-18 12:52:03 +02:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Raphael CoefficandPeter Feerick fd1f6d2f3d [nv14] Fix translation strings used
Strings defined for "x" (shortest) are mostly defined if "LCD_W < 212", which is not the case for the NV14, thus leading to faulty static strings (see TR_VFSWRESET in en.h.txt translation for example).
2021-09-18 19:21:06 +10:00
Raphael Coeffic 9b63f75e1d Fix max # channels and default channel range
Resolves #299
2021-09-18 10:43:55 +02:00
Raphael CoefficandGitHub 734721d824 Merge pull request #746 from pkendall64/fix-baud-rate-defaults
Fix baud rate defaults
2021-09-18 07:12:00 +02:00