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
Risto and GitHub
5a090d689d
Easier rotary encoder inversion code ( #1326 )
...
* Easier inversion code.
* Evaluate define INVERTED_ROTARY_ENCODER instead.
* Make Zorro roller direction more natural and matching also TX16S navigation style.
2022-01-01 21:54:49 +10:00
Raphael Coeffic
eb1e3078c8
Fix index for negative GVARs
2022-01-01 12:35:29 +01:00
Raphael Coeffic
7ef56c5d60
Throw proper YAML exception instead of std::invalid_argument
2022-01-01 11:57:56 +01:00
Raphael Coeffic
e18219f53b
backlightMode ON is -4
...
Seems the field is read as a signed 3 bit integer from `.otx`.
2022-01-01 11:39:17 +01:00
Raphael Coeffic
25ee9369cf
Do not convert node to string if not a scalar
2022-01-01 11:36:29 +01:00
Peter Feerick
58310ff0ef
Don't invert the T-Lite Pro rotenc
2022-01-01 14:29:23 +10:00
Peter Feerick
fa5078f33a
Missing implementation => ROTARY_ENCODER_INVERT
2022-01-01 12:16:26 +10:00
Peter Feerick
eb8d673a87
Change EEPR to CFGV
...
Thus storage format agnostic
2022-01-01 11:30:58 +10:00
Peter Feerick
d1cd7db449
Formatting
2022-01-01 10:29:52 +10:00
Peter Feerick
5e9a8b7db9
Add Zorro and T-Lite, correct captialisation
2022-01-01 09:50:23 +10:00
Raphael Coeffic
8e69976dbb
Skip calibration data for invalid analogs
2021-12-31 18:41:59 +01:00
Raphael Coeffic
ede80e2ebd
Fix backlight delay
2021-12-31 17:24:12 +01:00
Raphael Coeffic
0f6c2b0cba
Fix GCC warning.
2021-12-31 14:28:40 +01:00
Raphael Coeffic
4a1c44a553
Do not try to parse the model list if it's empty
2021-12-31 14:16:58 +01:00
rotorman
9f6038c4e7
Enable building under MSYS2
2021-12-31 12:47:32 +01:00
Raphael Coeffic
f56b462d54
Do not set varioSource to an arbitrary value.
2021-12-31 10:53:12 +01:00
Raphael Coeffic
b097593e73
Fix reading models from B&W radio
2021-12-31 10:53:12 +01:00
Raphael Coeffic
6cfecb7ddb
Fix output for empty params in custom functions (like "Play track")
2021-12-31 10:53:12 +01:00
Raphael Coeffic
5628391539
Allow yaml-cpp exception to be caught in the loader and set as error
...
This allows for better debugging: the exception shows where in the file the error has occurred.
2021-12-31 10:53:11 +01:00
Raphael Coeffic
79181d1484
Add model files loading for B&W radios
2021-12-31 10:53:11 +01:00
Raphael Coeffic
3eb55af228
Do not init points to identity function to avoid issues with radio firmware
2021-12-31 10:53:11 +01:00
elecpower and Raphael Coeffic
7648dfc544
Do not prompt to use previous version settings when newer version
2021-12-31 10:53:11 +01:00
elecpower and Raphael Coeffic
e64f57768a
Add board flavour
2021-12-31 10:53:11 +01:00
Raphael Coeffic
f965707bdd
Fixed write format detection
2021-12-31 10:53:11 +01:00
Raphael Coeffic
c9ba1a632b
Fixed custom function repeat param (!1x)
2021-12-31 10:53:11 +01:00
Raphael Coeffic
a90d89ece6
Remove escaping in negated switches (yaml-cpp does not seem to do it)
2021-12-31 10:53:11 +01:00