Commit Graph
9891 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic df0d115a72 Fix PXX2 authentication support 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 4cecdc0cae PXX2: fix CRC check and frame end 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic b620f6dc79 Enable RX DMA on some taranis targets 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 267fa84f3f WiP: better restartModule() 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic f51f0c1aa8 Disable PWR_FIX for EL18
The pin is connected to the battery voltage and is meant to be used as ADC pin.
2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 796433b7f6 Fixed telemetry input for FlySky iBUS sensors 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic b9b31a659f Fix NV14 simulation 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 66e08da1b8 Fixes for targets without external module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 56eb564b86 Detect NV14 vs EL18 at boot 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic e8d82348e0 MPM proto scan: fix RfScanDialog 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 8f85097c90 MPM proto scan: use RTOS timers instead of polling for timeout 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic c413790892 Horus targets: use RX DMA with internal module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 246840f065 Moved telemetry processing to module interface 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 39c61408e7 AFHDS3: Model ID & fixed model switch 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic dec73c5fb1 Fixed DMA fifo clear() 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 4eeef9e916 Fixed LCD driver (no copy necessary) 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic bea7e4ec13 AFHDS3: better layer separation (transport / protocol logic) 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic f75cb3f97d Disable AFHDS3 by default on B&W targets 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 5132e11d41 Add some support for RX DMA on internal module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic db73e4cd87 Move AFHDS3 to new module interface 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 1a918bf072 Improve NV14 CMake 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic f952c5f7c7 Internal and external module buffers are now private 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
Peter FeerickandPeter Feerick 8e1281ac68 fix: FI and PL missing/invalid strings, cleanup
Also some indentation cleanup, and removal of
no longer needed `LEN_`. Some stems from #1900
2022-08-10 19:26:03 +10:00
HThurenandPeter Feerick b88a58d244 Moved strings to translate from untranslated.h to specific country file
Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file
2022-08-10 19:26:03 +10: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
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
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
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
gagarinlg bc12aa2b6d fix: compilation with -DDEBUG_WINDOWS enabled 2022-07-24 16:36:51 +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