Commit Graph
13498 Commits
Author SHA1 Message Date
62692dba6a feat: More rotary encoder options for B&W screens (see #2045)
* First build

* Fix X9

* Update api_general.cpp

* Update translations.h

* clean up translations

* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu

* chore: yaml regen

* fix: Add missing guards for X9D/X9D+

* fix: Wrong enum name in simu

* fix(cpn): Use correct names for UI elements

* fix: Translations

* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.

* fix: Companion string, change colorlcd to `Choice`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-08-04 20:06:17 +10:00
Peter Feerick 5752cf4061 fix: Take colorlcd into account for ISRM protocols
Thid time lucky for #2079... now I know where it went wrong 😆
2022-08-04 11:38:16 +10:00
MichaelandGitHub c29f12f997 fix: Adjust pointer so extra character not included in source name when logging
The adding of UTF-8 support in 30e3ac3 / #1900 meant there was a second character present
in the symbol character strings, which was not expected here when trimming them off.
2022-08-04 11:25:19 +10:00
Peter Feerick a0770beb5f fix: Missing "OFF"/protocol offset for ISRM radios 2022-08-03 11:16:30 +10:00
be7a6a51ab feat: Allow the timer count direction to be selected (#2038)
* timer direction: ellapsed or left

* Add AUDIO announcement support

* Storage for showElapsed

* Translations

* Fix storage

* BW implementation

* Different BW implementation

* Companion support

* Color LCD implementation and rebase to lvgl

* Fix problems found by raphaelcoeffic

* chore: Regenerate the YAML files properly

* fix: Remove unused `TR_SHOW` remnant

* chore: Formatting and cleanup

* fix: Timer dir choice was shown in wrong place
Wrong newline used in ce23b50

* Fix cpn ui triggers, remove unnecessary code and some formatting

* fix(colorlcd): Hide timer dir opt if zero value

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-08-03 09:22:42 +10:00
tonyyngandGitHub 415b566a79 fix: Handle text fields in logs (#2173)
Telemetry sensors that have text (ie. FM from Betaflight) were not
being handled at all, so were logged as 0.
2022-08-01 19:48:50 +10:00
Raphael Coeffic aecc5104f8 Update libopenui
Fixes issue with NumberEdit not editable via keys
2022-08-01 11:23:10 +02:00
Raphael Coeffic 9c4a0d78a9 number edit: install call back regardless of _getValue 2022-08-01 11:22:00 +02:00
MichaelandPeter Feerick 16f4f7280a fix: Elevate audio task to avoid sharing same priority as FreeRTOS timer
freeRTOS: elevated audio task to priority 3 to avoid sharing the same priority with freeRTOS software timer task  (defined in FreeRTOSConfig.h as priority 2).

Resulting task priority list:
mixer task 4 (highest)
audio task 3
freeRTOS Software timer tasks 2
menus task 1
CLI task 1
idle task 0 (lowest)
2022-08-01 19:07:58 +10:00
MichaelandPeter Feerick 4b254b9da4 feat: Add channel outputs to logging
Adds channel outputs (end of the processing chain) to set of logged data in units of microseconds.

Use constant PPM_CENTER instead of literal 1500
2022-08-01 19:07:58 +10:00
dd9e265e4f feat: Allow for Jumper T16 touchscreen mod using TX16S. #2060 for docs
* add HARDWARE_TOUCH to T16

* cleared and corrected

cleared and corrected

* forced indication of rst

forced indication of rst

* Update hal.h

* chore: Remove unnecessary T16 specific condition
Only unique cases should be added, and the pre-existing ELSE
already sets this value correctly.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-31 11:33:05 +10:00
Raphael CoefficandGitHub e98583ce28 fix: Type cast for failsafe channel update causing EM crashes (#2170) 2022-07-31 11:29:11 +10:00
CliffandGitHub eb6f0e56cd Menu multiselect with checkmark (#54)
* Menu multiselect with checkmark

* missed brace
2022-07-30 12:53:46 +10:00
wimalopaanandPeter Feerick 0daaf9b82f removed unneccessary member 2022-07-27 10:45:26 +10:00
wimalopaanandPeter Feerick f55080e9e9 separated radio_tools and radio_version pages according to reusableBuffer 2022-07-27 10:45:26 +10:00
gagarinlg 4084497c70 fix: use libopenui with working pixel draw check 2022-07-26 21:12:29 +02:00
gagarinlgandRaphael Coeffic 4d34becd2c fix: the check to prevent out of screenbuffer drawing did not work 2022-07-25 10:28:39 +02:00
gagarinlg bc12aa2b6d fix: compilation with -DDEBUG_WINDOWS enabled 2022-07-24 16:36:51 +02:00
gagarinlg d76c6415c9 fix compilation with -DDEBUG_WINDOWS 2022-07-24 16:26:58 +02:00
zyrenandGitHub 8d3ed24a77 fix(zorro;tx12mk2): Intermittent lines on the screen after shutdown (#2155)
Solve ZORRO and TX12MK2 display cluttered stripes on the screen after shutdown
2022-07-23 18:52:49 +10:00
zyrenandGitHub 755d5a0373 chore(translation): Updates to CN and TW for new content (#2151)
* Added new CN and TW translations

* Revised and refined CN & TW translations to fit B&W builds

Revised and refined CN & TW translations to fit B&W builds

* Improved CN translations a bit
2022-07-23 18:33:43 +10:00
Peter FeerickandPeter Feerick 911aec40b9 fix: Remove CFGV as no longer needed
Since it related to the EEPROM config value,
which is no longer relevant.
Additionally, this broke after ee0c371
2022-07-22 21:01:32 +10:00
Peter FeerickandPeter Feerick 1ca482529d fix: Edge case where no MPM or internalaccess 2022-07-22 20:45:04 +10:00
Raphael CoefficandPeter Feerick 8379b47e2b Fix compilation with MULTIMODULE=NO
And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
2022-07-22 20:45:04 +10:00
Peter FeerickandPeter Feerick 59466b1978 fix(tx12mk2): Trim + - header spacing on diags screen 2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick 0a76027488 fix(tx12mk2): Wrong labels for keys in diags screen
Also update Up/Down to reflect TX12/TX12mk2 keys
2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick b79fbc60fc fix(tx12mk2): Blue and Green LED GPIOs were swapped 2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick 857e863d3c fix(tx12mk2): Switch pos checks 2022-07-22 20:00:39 +10:00
2ee75033bb feat(color): Add OneBit option to color radios (and Companion!!) (#1994)
* Added OneBit option also to color radios

* Try to work around GH repo owner issue

Original by @raphaelcoeffic in https://github.com/EdgeTX/edgetx/commit/bf4b5d8c0c1e386d5a4852a80d459540bab98ed3

* Add Companion support for radios with external module

* Companion housekeeping - do not display unnecessary hardware section headings

* fix: Rebase cleanup

* fix: LVGL changes

* feat: Move sample mode to a new Ext RF block

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-22 11:00:20 +10:00
Peter FeerickandPeter Feerick 9e23561184 fix: Reset file permissions
Git is stupid and doesn't let you lock them
2022-07-20 13:01:31 +10:00
Peter FeerickandPeter Feerick 3f5e43aed4 chore: Add missing build system bits 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 4c6cad7a86 fix RTC bat reading. 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 03426c9afc yaml generate 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 50962bce70 STICK_DEAD_ZONE / IMU
pfeerick: IMU on rebase
2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 8c828172e3 Fix conversions 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 6010eff024 TX12MK2 initial (external issue with MPM) 2022-07-20 13:01:31 +10:00
Malte LangermannandGitHub cd2f796c90 fix[text]: fixes #1772, we now have enough space to write "SetFailsafe" (#2144) 2022-07-20 10:38:37 +10:00
HThurenandGitHub 18db00d8cc fix(translation): Corrections to Danish translations 🇩🇰 (#2134)
Updates to incorporate #2109, #1891, #1744 changes
2022-07-18 11:25:40 +10:00
Peter FeerickandGitHub 7d983f6fa8 chore(yaml): PR#2064 didn't regenerate files (#2133) 2022-07-17 18:59:21 +10:00
RistoandGitHub 386f8e6342 fix(TX16S): LCD clock speed lowered to within spec (#2127) 2022-07-15 18:34:27 +10:00
eshifriandGitHub 755365abfd feat(timer): Long timer announces minutes only when gt 10 minutes (#1891)
* Long timer announce minutes only
* fix: Typo and minor formatting
* fix: Handle negative long timer also + minor formatting
2022-07-15 12:58:16 +10:00
RJMcIntyandGitHub 7cff5ef97a feat: Audio prompt when min and max trim reached (#1955)
- Plays "Minimum/Maximum trim reached" audio every when trim limit reached and when repeatedly pressed
- Partially fixes issue where extended trims were not being reset when option changed
2022-07-14 19:36:01 +10:00
78e921853e fix(lvgl): Text viewer functionality restored (#2070)
* view text functionality restored

* Cleanup

* chore: Automatic code formatting

* Fix Windows line break problem

* Cleaner version

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-14 19:02:30 +10:00
ulfhedlundandGitHub 6cd2a0b336 Updated Swedish translations for Companion and radio 🇸🇪 (#2095)
Slightly revised SE Companion and radio translations.
2022-07-04 17:55:28 +02:00
Raphael Coeffic b0b24a716e Use defined explicit DynamicNumber implementation
Resolves #2115
2022-07-04 15:38:53 +02:00
Raphael Coeffic dae1c77f47 fix(t-lite): internal module on targets without TX DMA was not sending at all 2022-07-04 12:35:03 +02:00
Malte LangermannandGitHub 097964147b fix(NV14): set lcd pixel clock depending on the detected LCD (#2097)
Code kindly provided by FlySky has been used as the reference.
2022-07-04 09:41:06 +02:00
Raphael Coeffic 1bc35f54de color: fix print format warnings 2022-07-04 07:56:28 +02:00
Raphael Coeffic 87ef19a9de static: fix format warnings 2022-07-04 07:54:39 +02:00
HThurenandGitHub e9067e612f Update minor changes to danish translations (#2114)
* Minor changes to danish translations
2022-07-03 14:49:52 +02:00