Commit Graph
17162 Commits
Author SHA1 Message Date
Peter FeerickandGitHub 7da7261e7b Various Companion fixes (#1449)
- Fix (de-)serializing enable param for backlight custom function
- Fix OFF backlight
- Fix power ON/OFF delay
- Fix flight mode trim disabled
- Fix trim switch index
- Fix deserializing SLIDER[1,2]
- Fix shift for logical switches in raw sources
2022-01-18 11:13:11 +10:00
Risto adca4f0a3b Fixed Zorro battery voltage sensing
New Zorro revision uses internally 3.3V VREG and requires this change to properly sense the battery voltage. Tested on latest revision of physical Zorro.
2022-01-17 16:06:26 +01:00
Peter FeerickandGitHub dcbdde2b74 Fix warning: "EVENT_BUFFER_SIZE" redefined 2022-01-17 11:34:09 +10:00
piotrvaandGitHub e47caddeb0 fix: Force translation.py script encoding to utf-8 (#1424) 2022-01-17 11:24:53 +10:00
stefan73andGitHub 7161c83d9c [nv14] Make Outputs widget work with two column layouts (#1454)
Changed code to allow one column display of outputs already with a width of 100. This fixes the initally reported problem

Reason: On the Nirvana the screen width is 320 pixels. Thus the widget width is less than 150 pixels, if you select a two column out layout.
The rendering of the outputs looks good with a width of 100px, so there is no need for the "150" - we can start displaying from 100. Should make no difference to the radios with width 480px.
2022-01-17 11:24:20 +10:00
Jesper FrickmannandGitHub 0069bcc52f Increased Lua buffer size for standalone and telemetry scripts (#1442) 2022-01-17 10:54:08 +10:00
Jesper FrickmannandGitHub 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
Peter FeerickandGitHub 1fe4936e7e Move discord, facebook, discussions links up 2022-01-17 09:11:50 +10:00
Raphael Coeffic cdd933d6e1 Fix shift for logical switches in raw sources
Resolves #1439
2022-01-16 11:46:55 +01:00
Raphael Coeffic 064a71f7f2 Fix deserializing SLIDER[1,2]
Resolves #1419
2022-01-16 11:17:50 +01:00
Raphael Coeffic b8553928ed Fix trim switch index 2022-01-16 10:49:23 +01:00
Raphael Coeffic 8071807584 Fix flight mode trim disabled 2022-01-16 10:38:52 +01:00
Raphael Coeffic 82aa94848e Fix power ON/OFF delay 2022-01-16 10:28:04 +01:00
Raphael Coeffic e986af77eb Fix OFF backlight
Resolves #1447
2022-01-16 10:20:49 +01:00
Raphael Coeffic 5cb0ca469f Fix (de-)serializing enable param for backlight custom function
Resolves #1446
Resolves #1447
2022-01-16 10:13:57 +01:00
Raphael CoefficandGitHub 8150b00823 fix: [companion] Throttle trace source conversion error (#1401)
Accounts now for EX3 & EX4

Resolves #1398
2022-01-13 11:51:37 +10:00
PaddyandGitHub db392408b9 [companion] Show commit hash and link to github issues in About dialog (#1415)
* Include Git Commit Number into about popup and refferencing to the github commit via link

* Add Link to Create New Issue on Github

* Add Link to Create New Issue on Github
2022-01-12 11:32:06 +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 CoefficandGitHub 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 FrickmannandGitHub 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 LangermannandGitHub 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
piotrvaandGitHub 192ca87afb fix: rotary encoder movement should not close throttle warning (#1408) 2022-01-11 11:44:21 +10:00
RistoandGitHub e97a3b15a5 Add asciitree and jinja2 to the list of installed Python packages 2022-01-10 20:04:07 +01:00
Raphael Coeffic 91a676b64f Fix compiling with DSM2=OFF and MULTIMODULE=OFF 2022-01-10 16:23:32 +01:00
Peter FeerickandPeter Feerick dc8f86700c [companion] fix: only write yaml to radio, not bin 2022-01-10 21:53:29 +10:00
Raphael Coeffic 1c8639baea Fix raw switch index checks (#1403)
Resolves #1403
2022-01-10 12:51:41 +01:00
Raphael Coeffic 22762e0a16 [companion] Properly write String zone option values 2022-01-10 08:32:49 +01:00
Neil HorneandGitHub 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
elecpowerandPeter Feerick b41cb2a75a Re-enable custom screens with new themes 2022-01-10 11:11:31 +10:00
Raphael CoefficandPeter 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 FeerickandGitHub 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
WilhelmandGitHub 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
RistoandGitHub 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 FeerickandPeter 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
eshifriandGitHub 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 HorneandGitHub 5aa866acc2 [companion] Remove no longer relevant EEPROM size column heading (#1381) 2022-01-08 11:01:09 +10:00
Piotr RzeszutandPeter Feerick 5defeeedf4 Allow to power-off the radio when displaying model notes. Fix for #1274 2022-01-08 09:28:40 +10:00
Raphael CoefficandGitHub 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 CoefficandGitHub eb90b4a68d YAML Trainer data: iterate through nodes rather than assuming their presence (#1350)
Resolves #1349
2022-01-07 10:32:00 +10:00
Raphael CoefficandGitHub d97afb6f8e Fix switch indexes (#1362)
Resolves #1353
2022-01-07 10:31:37 +10:00