Jesper Frickmann and GitHub
0069bcc52f
Increased Lua buffer size for standalone and telemetry scripts ( #1442 )
2022-01-17 10:54:08 +10:00
Jesper Frickmann and GitHub
c45b3d7114
Fix: [lua] Do not ever convert name to a number with getFieldInfo(name) ( #1423 )
...
Fix for Issue #1346
2022-01-17 10:20:40 +10:00
7a628d4c15
fix: Companion read/write of failsafe settings, how displayed on radio ( #1399 )
...
* Fix failsafe settings
Resolve #1393
* trigger save if failsafe numbers changed + cleanup
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-11 23:09:55 +10:00
Raphael Coeffic and GitHub
71b0e72dd0
Remove calibration check when asserting availability of 6-pos switch positions ( #1368 )
...
Thus allowing it to show on radio when calibration is invalid
2022-01-11 22:46:41 +10:00
Jesper Frickmann and GitHub
cc316e5a2c
fix: Wrong x-coordinate for Lua touchState during sliding on mainviews other than the first screen ( #1409 )
...
Fix for issue #1348 as discussed on https://github.com/EdgeTX/libopenui/pull/49
2022-01-11 22:44:54 +10:00
Malte Langermann and GitHub
37ee8a68f8
fix: Force a valid min "backlight on" setting on color lcd radios ( #1386 )
...
* always have aat least a 5s backlight timeout and some backlight enabled when backlightshould be on on color lcd radios
* for backlight timeout to be at least 5s on color lcd radios under all circumstances
* fix indentation
* the backlight value is inverted on color lcd radios, so the calculation was wrong
* fix typos
2022-01-11 22:44:13 +10:00
piotrva and GitHub
192ca87afb
fix: rotary encoder movement should not close throttle warning ( #1408 )
2022-01-11 11:44:21 +10:00
Raphael Coeffic
91a676b64f
Fix compiling with DSM2=OFF and MULTIMODULE=OFF
2022-01-10 16:23:32 +01: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
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
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
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
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
5be8724787
Fix internal module setup
2022-01-07 09:19:23 +01: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
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 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 and GitHub
aa79087e4d
Merge pull request #1186 from EdgeTX/cpn-storage-fmts
...
Companion YaML support
2022-01-02 13:06:01 +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
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
Raphael Coeffic
8e69976dbb
Skip calibration data for invalid analogs
2021-12-31 18:41:59 +01:00
Raphael Coeffic
c95bb66602
Fixed test file unzipping
2021-12-31 10:53:11 +01:00
Raphael Coeffic
9f9c3aba01
Add curve ref gvar support
2021-12-31 10:53:11 +01:00
Raphael Coeffic
7a66c3413a
Fixed YAML GVAR based values
2021-12-31 10:53:11 +01:00
Raphael Coeffic
bf41080b57
Fix YAML radio format: outputs GVAR support and small fixes
2021-12-31 10:53:11 +01:00
Raphael Coeffic
38e6748e14
Rename test files to .otx as they still use binary format
2021-12-31 10:53:11 +01:00
Raphael Coeffic
1a7e5e3b2b
Fixed setting bit-field members in random order
2021-12-31 10:53:11 +01:00
Raphael Coeffic
c2c23c43d9
Fix parsing last line without CRLF/LF.
...
Check EOF at the end of the buffer.
2021-12-31 10:53:11 +01:00
Raphael Coeffic
f4257c0c2a
Fix simulated SD card path redirection
2021-12-31 10:53:11 +01:00
Raphael Coeffic
91ea5998b7
Translate offset to support gvars
2021-12-31 10:53:09 +01:00
Raphael Coeffic
d98a697aca
Add "board" field and remove a few useless ones
2021-12-31 10:53:09 +01:00
elecpower and Raphael Coeffic
73539a10a9
Rename libsims
2021-12-31 10:53:08 +01:00
rotorman and Raphael Coeffic
89517d8bd8
Use ETX instead of OTX (also as a file extension).
2021-12-31 10:53:08 +01:00
Raphael Coeffic
20961e460b
Use double quotes around switches to avoid escaping with backslash
...
Escaping with backslash arbitrary characters seems to be an issue with most YAML parsers.
2021-12-31 10:52:20 +01:00
Raphael Coeffic
81d7768498
Fix arbitrary escaping in quoted strings
2021-12-30 14:21:02 +01:00
Raphael Coeffic
587e64f76a
Fix potential YAML format issue by enclosing "def" value in double quotes
2021-12-30 13:55:06 +01:00
Jesper Frickmann and GitHub
d37b3e4051
[lua] Fix Lua Mixer index issue ( #1312 )
...
* Bug with the index of Mixer script input/output data
* Missed a #if defined(COLORLCD)
2021-12-30 19:37:23 +10:00