Commit Graph
4122 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 4eeef9e916 Fixed LCD driver (no copy necessary) 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic bb6c6d6e2d WiP PoC AFHDS3 internal module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic ab6033e4d5 Use static string 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 99673224bf FlySky UI fixes 2022-08-11 12:15:46 +02:00
MichaelandGitHub 6dd5c87bfb feat: Add acoustic and/or haptic feedback for touch events depending on radio settings (#2193)
This addresses issue #1778 (https://github.com/EdgeTX/edgetx/issues/1778)

Select "All" in radio settings/radio setup/Sound/Mode for key and touch acoustic feedback and settings/radio setup/Haptic/Mode for key and touch haptic feedback.

"NoKey" also disables touch feedback.
2022-08-07 19:44:29 +10:00
a3d44d7b09 chore: Remove "OFF" from protocol lists (#2186)
* chore: Remove "OFF" from protocol lists

* Fix subType setting for X9D+2019

* fix: Chan start and count for ISRM, dup type set
Channel start and count wasn't being updated for ISRM.
Also remove duplicate modulke type setting, which was the
cause of an earlier bug that was worked around on 128x64

* fix(colorlcd): Shorter ACCST opts string crash

* chore: Formatting only

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-08-05 21:21:56 +10:00
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
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
Raphael CoefficandGitHub e98583ce28 fix: Type cast for failsafe channel update causing EM crashes (#2170) 2022-07-31 11:29:11 +10:00
wimalopaanandPeter Feerick f55080e9e9 separated radio_tools and radio_version pages according to reusableBuffer 2022-07-27 10:45:26 +10:00
gagarinlg bc12aa2b6d fix: compilation with -DDEBUG_WINDOWS enabled 2022-07-24 16:36:51 +02: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
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
3djcandPeter Feerick 6010eff024 TX12MK2 initial (external issue with MPM) 2022-07-20 13:01:31 +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
Raphael Coeffic b0b24a716e Use defined explicit DynamicNumber implementation
Resolves #2115
2022-07-04 15:38:53 +02:00
Raphael Coeffic 1bc35f54de color: fix print format warnings 2022-07-04 07:56:28 +02:00
HThurenandGitHub b1ca5bb7ca Changes to add danish translations - companion and radio 🇩🇰 (#2101)
Added Danish translations to Companion and radio firmware.
2022-07-02 21:15:32 +02:00
Raphael CoefficandRaphael Coeffic 1f8072374c x12s: move touch panel inversion to LVGL driver 2022-06-25 16:09:04 +02:00
Raphael CoefficandRaphael Coeffic 0b8d93ca88 WiP: support for LSM6DSxx 2022-06-25 16:09:04 +02:00
Raphael CoefficandRaphael Coeffic 35e14ff83e Fixes for FlySkySettings 2022-06-25 15:37:11 +02:00
dlktdrandRaphael Coeffic c616204cb9 Extra BT Info + M/BT Working 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic 980a823bf6 Radio hardware: improve bluetooth settings 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic e76c7f95be Re-implemented BT trainer setup 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic 7b053c1c05 Add more generic class for channel range 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic b81d174a2e Work around ARM GCC limitations 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic 81e60eb5a2 Custom failsafe: flex layout and channel hold / no pulse 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic 20b7ab677d Fix NV14 2022-06-25 15:37:11 +02:00
Raphael CoefficandRaphael Coeffic 0de678af57 Flex module setup 2022-06-25 15:37:11 +02:00
Raphael Coeffic 9f24e2d131 Radio setup: prevent scrolling with wrap boxes 2022-06-20 08:05:09 +02:00
Raphael Coeffic 3ce1aefc44 Fix input name length 2022-06-19 17:28:03 +02:00
Kevin KoenigandGitHub 8874711cb4 Keep highlighted row with lv_table on touch release (#2059) 2022-06-19 14:22:29 +02:00
Raphael Coeffic f612920841 Inputs: fix editing after insert/delete
As with mixers, the index used was that captured when executing createLineButton() rather than the real current index.
2022-06-19 14:06:39 +02:00
Raphael Coeffic f35fc68bfd Mixers: fix editing after insert/delete
The index used was that captured when executing createLineButton() rather than the real current index.
2022-06-19 13:54:12 +02:00
Raphael Coeffic 3afe1beaeb GVarNumberEdit: fix editing GVAR
NumberEdit would cap and set the value based on its own limits (-500;500). This is not possible anymore as the "setValue" method is now set when NumberEdit is visible and really used.
2022-06-19 13:52:56 +02:00
Raphael Coeffic 4444b71add Reset offset and clipping rect before using direct drawing 2022-06-18 06:13:31 +02:00
Raphael Coeffic c4fc11b79a Fix integer format warnings 2022-06-17 09:20:55 +02:00
Raphael Coeffic 8deaa983ec Model setup: fix button sizes & timer setup scrolling 2022-06-17 05:52:15 +02:00
Raphael CoefficandRaphael Coeffic ba757bd41f Fix confirmation dialog 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic cd4d3a28ee Fix display when power button is released before shutdown 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic ac84ac1397 Fix & simplify fatal screens 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic 6798b2fde9 Fix sleep screen 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic fe6922494a LCD & backlight init only from lcdInitDisplayDriver() 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic 8681d5aa3e Fix bootloader display init order 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic 479e8ad244 Fix direct drawing for special cases 2022-06-17 05:34:47 +02:00
Raphael CoefficandRaphael Coeffic f6988c0870 The return of XXL font 2022-06-14 22:58:15 +02:00
Raphael CoefficandRaphael Coeffic 5416a8f7d4 Remove padding on analog diagnostics pages 2022-06-14 22:57:59 +02:00