Commit Graph
3745 Commits
Author SHA1 Message Date
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
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
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
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
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
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 Coeffic 5be8724787 Fix internal module setup 2022-01-07 09:19:23 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Raphael Coeffic
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 CoefficandPeter Feerick 44cdb4497f Fixed clearing curves
Resolves #1295
2022-01-04 14:21:07 +10:00
Peter FeerickandGitHub 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
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
d41855a316 [TX12] Fix support for additional switches (SI and SJ) (#1303)
* Fixed support for Radiomaster TX12 additional switches (SI and SJ)

Two connectors are present on TX12 main board (near top of internal TX module) and are mapped as SI and SJ, but were not read out by the firmware.
With this update they might be used for some further hacking of the radio (ex. adding additional 2-pos switches, adding detector of external module insertion etc.).

* Radiomaster TX12 - preventing selection of Si and SJ as 3POS

* Radiomaster TX12 - corrected SI and SJ switch names in Keys Debug screen

Switches were displayed in test screen as SG and SH, due to fact that firmware did not take into account no presence of SG and SH in TX12.
The update provides correct and consistent naming of the additional switches across whole radio.

* Alignment tweak + fix rot_enc info overlap

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-30 15:49:23 +10:00
Peter Feerick 8447fb3de6 Add padding to bottom of screen for touchscreen
Mainly for NV14, but won't hurt TX16S, etc
2021-12-30 11:54:15 +10:00
Malte LangermannandGitHub 9e285b3cb2 [touch] Fix hardware touch diagnostics regression (#1314)
* fix touch screen test in analog input test screen

* remove #if SIMU check for touch test

* remove unneeded trace
2021-12-30 11:46:10 +10:00
eshifriandGitHub 87724bba2f [colorlcd] Fix pot and slider warning checks (#1281)
Some pot/sliders were being ignored or check state was inverted
2021-12-28 10:25:33 +10:00
Malte LangermannandGitHub a1e03ed7b5 [NV14] Fix ST7796S LCD controller detection and colors, show LCD controller type on version screen (#1294)
show LCD controller type on NV14 radio version screen
fix ST7796S LCD controller detection
fix ST7796S driven displays to show correct colors
fix NV14 lcd_driver.cpp compiler warning
2021-12-26 10:17:30 +10:00
Peter Feerick d9b725a4b1 Newline 2021-12-24 13:18:08 +10:00
Peter Feerick 0814cbca88 Fix LUA=N compilation failure 2021-12-24 13:18:08 +10:00
Peter Feerick b6ad6fbc50 Change LUA=YES to LUA_MIXER=Y/N 2021-12-24 13:18:08 +10:00
eshifriandGitHub a892cc2dac Fix GVARS=NO output values not correctly applied or editing correctly (#1264) 2021-12-19 17:53:34 +10:00
zyren a811f73136 Improve Chinese CN & TW Translations
Rebase and modify #1263 and resubmit

Added new translations for the popup main menu
Added new translations for theme
Fixed wrong translations

@richardclli Please check
2021-12-18 12:44:28 +08:00
Peter FeerickandGitHub b0c328dd19 Make SYS Tools Lua entries larger for easier touch (#1265)
fixed 376 by making each line 10 pixels higher.
2021-12-18 12:20:24 +10:00
Peter Feerick ee74bd408b Add more vertical centering 2021-12-18 11:49:39 +10:00
Raphael Coeffic 7535611e56 Fixed editName() 2021-12-17 17:09:38 +01:00
Raphael Coeffic 83b676b4dd Added YAML defs for T-pro 2021-12-17 17:08:49 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
Raphael Coeffic db264a0c29 Fixed radio diagnostic keys (Zorro) 2021-12-17 15:17:49 +01:00
Raphael Coeffic 8db2f2e185 Disable CPPM and SBUS trainer modes when disabled in HAL 2021-12-17 15:17:49 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael CoefficandGitHub 498bc152a3 Merge pull request #1040 from EdgeTX/sw-warnings 2021-12-17 13:05:13 +01:00
Raphael CoefficandRaphael Coeffic e854515147 Fix T12 switch definitions
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
kkoenig1@optonline.com 1d80a62d8b fixed 376 by making each line 10 pixels higher. 2021-12-17 05:01:40 -05:00
Tony CakeandGitHub f8357be887 [ghost] Fix RTN behavior on Ghost config menus (#1261)
* Fix menu back behavior in the Ghost menu

When backing out of a ghost sub-menu one level, don't close the module menu unless already in the root menu.

* Fix formatting
2021-12-17 10:38:19 +11:00
843d1be868 Fix wrong Chinese characters being displayed (#1257)
* Fixed wrong index calculation.

* Fixed font generation, indexing will goes wrong when no extra chars bitmap is present.

* Image width exceeded 16384 will cause trouble in CJK.

* Include libopenui update

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-17 10:32:28 +11:00
Kevin KoenigandGitHub aac60a96df Part of dbd41d2, fixes breakage of themes list (#1247)
Listbox now explicitly captures touchEnd()
2021-12-13 15:30:27 +11:00
af87e2e365 [NV14] Fix mix channel monitor size (#1231)
* fix mix channel monitor size on nv14

* add right margin to mix channel monitor on nv14

* Rebase and revert libopenui change

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-12 19:27:36 +11:00
Peter FeerickandPeter Feerick 48bd1ac738 Fix UI elements left visible when FLIGHT_MODES=N 2021-12-10 10:47:59 +10:00
1912ec6426 Fix building with -DGVARS=NO (#1232)
* Fix building with -DGVARS=NO

* Thx @eshifri for the tip

Better solution

* Don't show GVARS tab if GVARS turned off

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-10 09:50:45 +11:00
Raphael Coeffic 665b9ee4d1 Fixes switch warning evaluation on COLORLCD 2021-12-09 10:38:04 +01:00
Raphael Coeffic b29771c425 Do not allow 2POS warning to be set in middle position. 2021-12-09 09:51:30 +01:00
Raphael Coeffic 571cae732c Unify switch warnings 2021-12-09 09:48:28 +01:00
Raphael Coeffic 865cf06b0d Revamped switch state checking 2021-12-09 09:20:01 +01:00
Raphael Coeffic 998af78f19 Remove MENUS_LOCK 2021-12-09 09:11:00 +01:00
Peter FeerickandPeter Feerick 17af4b5775 [colorlcd] Re-enable GHOST tools entry
There is a known bug, but it is better than not config tool for now
2021-12-07 19:49:05 +10:00
16fc05ad8e Fix showing of non-existent pots in warnings group (#1129)
* pots warning enabled fix

* yaml_generator whitespace

* Fix UART_MODE_DEBUG

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-07 20:03:28 +11:00
Peter Feerick 0618d6ef6a [colorlcd] Fix Frsky 9-16 TELEM OFF not working
Resolves #1197
2021-12-06 09:37:31 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
9694689067 [colorlcd] Sort Lua scripts before building UI in radio tools (#1150)
* sort lua scripts before building ui in radio tools

* Formatting

* Case insensitive sorting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-05 23:50:52 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
71dd6bca89 More optimisations to Theme Editor (#1210)
* fix some minor issues

* 1. fixed issue with FullScreenDialog when over a window that processes onTouchStart
2.  Fixed Huse and RFB bar positioning
3. added the ability to pause the filecarosell
4. now when the Theme Browser isnt the top of the stack it pauses the FileCarosell.  Good for perf
5. Add more preview controls so all colors can be seen
6. Lots of little layout issues fixed

* layout changes for nv14

* fix listbox.  dont call selection handler if the newly selected item is the same as the selected one.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-12-05 12:09:08 +11:00