Neil Horne and GitHub
fcf8fbdfff
Companion hardware internal module continued ( #1342 )
...
* Add ability to undo hardware internal module change
* Add internal module protocol check on model edit
* Event driven check and update of all models
* Fix model edit dialog searches
* Add OFF to list of internal modules
* Fix internal module protocol list issue #1382
2022-01-10 11:13:21 +10:00
elecpower and Peter Feerick
b41cb2a75a
Re-enable custom screens with new themes
2022-01-10 11:11:31 +10:00
Raphael Coeffic and Peter Feerick
9afae09f31
Load radio settings before power on delay is evaluated
...
Resolves #1366
2022-01-10 11:10:49 +10:00
Peter Feerick
733e272601
Revert "fix: Potential out of bounds access of flightmode name on main screen ( #1337 )"
...
This reverts commit 1b6f827b2c .
2022-01-10 11:10:04 +10:00
Peter Feerick and GitHub
925043f4b3
fix: [companion] Show cause of error if unable to read from radio, scan MODELS dir if models.yml missing
...
Fallback to model file scanning if models.yml cannot be read
2022-01-10 10:13:40 +10:00
Wilhelm and GitHub
1b6f827b2c
fix: Potential out of bounds access of flightmode name on main screen ( #1337 )
...
* fixed incorrect use of non-terminated-fixed-string for ctor of std::string
* introduced helper
* removed commented lines
2022-01-10 09:28:47 +10:00
Raphael Coeffic
49e3e00b87
Fix models.yml for empty categories or unsorted models
2022-01-09 16:42:49 +01:00
Raphael Coeffic
67816e0d65
Fix current model index
2022-01-09 16:09:29 +01:00
Raphael Coeffic
ff1e5cedc5
Add default category on-the-fly
2022-01-09 10:07:27 +01:00
Raphael Coeffic
ef7a5d34c7
Improved errors displayed with corrupted YAML files
...
When reading directly from the radio's SD card.
2022-01-09 09:10:37 +01:00
d30c5f46bc
feat: Stuck key test for COLORLCD ( #1289 )
...
* Stuck key test for COLORLCD #1271
* always start with the first button, no matter what this button is.
* Add LED error
* Move LED_ERROR_END to ensure runs after dlg close
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-09 12:24:43 +10:00
Risto and GitHub
293b8edd4b
Disable VBatBridge after first run ( #1388 )
...
Checked with in-circuit-debugger on physical RM TX16S, only after this fix, isVBatBridgeEnabled() is really false.
2022-01-09 10:49:35 +10:00
Raphael Coeffic
748435fa8f
Various small fixes
2022-01-08 17:10:25 +01:00
Peter Feerick and Peter Feerick
f8c01c3988
Show warning LED with switch and throttle alerts
...
Show warning LED for switch, throttle and ALERTS generally
i.e. MULTI failsafe not set, low RTC battery, storage warning
2022-01-08 14:12:26 +10:00
88ade987a7
[nv14] Minor code cleanup ( #1364 )
...
* Remove unused DMA defines
* Removed further unused DMA defines
* Removed obsolete unused files.
* Remove reference to removed file
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-08 13:40:10 +10:00
eshifri and GitHub
5c371bd39b
[nv14] Improve support for old NV14 Radio Module FW ( #1329 )
...
* Improve support for old Radio Module FW
* Change OLD RSSI scaling to 100 - 40 range
* change boolean variable name
2022-01-08 13:37:23 +10:00
Neil Horne and GitHub
5aa866acc2
[companion] Remove no longer relevant EEPROM size column heading ( #1381 )
2022-01-08 11:01:09 +10:00
Piotr Rzeszut and Peter Feerick
5defeeedf4
Allow to power-off the radio when displaying model notes. Fix for #1274
2022-01-08 09:28:40 +10:00
Raphael Coeffic and GitHub
2a509187dd
Fix 6POS switch (de-)serialization ( #1367 )
2022-01-08 08:57:41 +10:00
Raphael Coeffic
01ca714312
Fallback to model file scanning if models.yml cannot be read
2022-01-07 11:52:46 +01:00
Raphael Coeffic
5be8724787
Fix internal module setup
2022-01-07 09:19:23 +01:00
Raphael Coeffic and GitHub
eb90b4a68d
YAML Trainer data: iterate through nodes rather than assuming their presence ( #1350 )
...
Resolves #1349
2022-01-07 10:32:00 +10:00
Raphael Coeffic and GitHub
d97afb6f8e
Fix switch indexes ( #1362 )
...
Resolves #1353
2022-01-07 10:31:37 +10:00
Raphael Coeffic and GitHub
c7e7443c30
Fix EDGE logical switch (de-)serialization ( #1361 )
...
Resolves #1359
2022-01-07 09:45:33 +10:00
Raphael Coeffic and GitHub
d46067fab2
Fix bit mask generation ( #1358 )
...
Avoids overflowing when the bit mask should be 32bits long.
Resolves #1351
2022-01-07 09:36:49 +10:00
gagarinlg and Risto
48a9336060
fix Ubuntu 20.04 prepare script, libclang-11-dev was missing in the package list
2022-01-05 17:10:19 +01:00
2e5dbce2cb
Fix removal of first mixer line rendering other mixes uneditable ( #1163 )
...
* fix 1100
* Delete mix line if it'S empty rather than hot-patching the list
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com >
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com >
2022-01-04 20:10:24 +10:00
Raphael Coeffic and Peter Feerick
10aab3dbef
Fix vertically mirrored points
...
Resolves #1125
2022-01-04 14:21:07 +10:00
Raphael Coeffic and Peter Feerick
44cdb4497f
Fixed clearing curves
...
Resolves #1295
2022-01-04 14:21:07 +10:00
Peter Feerick and Peter Feerick
a077f2e325
Change version references to 2.6
2022-01-04 09:51:47 +10:00
jfrickmann and Peter Feerick
f2a360c9d3
Addressed the requests in issue #1285
...
`getfieldInfo` can now also take a source index as argument. Plus it was modified to also handle "telem1+" etc.
New functions `getSourceIndex(sourceName)` and `getSourceName(sourceIndex)` were added, which use the names shown on the
screen instead of the special names table used by `getFieldInfo` and `getValue`.
Indices are the same for all of the functions, so `getValue(sourceIndex)` also works with indices from `getSourceIndex`.
New iterator functions `sources([first[, last]])` and `switches([first[, last]])` for getting ranges of sources and switches.
`getPhysicalSwitches` was removed, as I consider the iterator function to be a better solution.
2022-01-04 09:51:47 +10:00
Peter Feerick and GitHub
351643b652
Clear active model internal module settings if radio level setting changed ( #1316 )
...
* [colorlcd] Ensure active internalModule is reset if different to radio level setting
* [B&W] Ensure active internalModule is reset if different to radio level setting
* storageDirty only when model setting cleared
* [b&w] Remove reusablebuffer, code re-order
* [colorlcd] More direct moduleType comparision
Consistent with B&W test
2022-01-03 20:55:49 +10:00
Raphael Coeffic
d1f56d6dfe
Fix special function "enabled"/"repeat" decoding
2022-01-03 09:09:38 +01:00
Raphael Coeffic
7b2f983d04
Fix throttle source shift
2022-01-03 09:08:57 +01:00
Raphael Coeffic and GitHub
18ea2d5caf
Merge pull request #1328 from EdgeTX/yaml_radio_version
...
Remove reference to EEPROM / EEPR in radio version screen
2022-01-02 13:38:34 +01:00
Raphael Coeffic
944f98048a
Do not include moduledata.h in boards.h
...
As it is used from the simulator classes, which uses radio source files as well.
2022-01-02 13:31:33 +01:00
Raphael Coeffic and GitHub
aa79087e4d
Merge pull request #1186 from EdgeTX/cpn-storage-fmts
...
Companion YaML support
2022-01-02 13:06:01 +01:00
elecpower and Raphael Coeffic
2a13dba411
Set default internal module in profile
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
417c7f1247
Prompt to check all models when harwdare setting changed
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
2797f7d976
Use profile default internal module for new radio files
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
e728560a45
Add default internal module to radio profile
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
592f173a94
Some more generic protocol names
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
926dfdd035
Remove unused code
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
5f5d3a4e1a
Mirror module type description
2022-01-02 13:05:09 +01:00
Raphael Coeffic and Raphael Coeffic
5495eac12a
Set default internal module in general settings
2022-01-02 13:05:09 +01:00
Raphael Coeffic and Raphael Coeffic
8a936af8f4
Add YAML support for internal module setting
2022-01-02 13:05:09 +01:00
Raphael Coeffic and Raphael Coeffic
1c823120e4
Use a list of supported internal modules rather than a module by module test
2022-01-02 13:05:09 +01:00
Raphael Coeffic and Raphael Coeffic
a719b2429f
Fixed condition for supported internal module feature
2022-01-02 13:05:09 +01:00
elecpower and Raphael Coeffic
d7190493d5
Add Internal Module to companion
2022-01-02 13:05:09 +01:00
Raphael Coeffic
85a184f15e
Catch all exceptions thrown by std::stoi()
2022-01-01 13:51:20 +01:00