Commit Graph
18061 Commits
Author SHA1 Message Date
Peter Feerick b74cd10927 fix: Showing wrong letter for switch warnings
Resolves #2202
2022-08-12 15:50:11 +10:00
Raphael CoefficandRaphael Coeffic c41de594a5 Disable RX DMA for T-lite & T-pro as gets random errors on passthrough 2022-08-11 12:15:46 +02:00
Peter FeerickandRaphael Coeffic 0f72977b1d fix: Missing BOOTCMD GPIO defines for TPro
Was clobbered in fa33894 of #1089
2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic c56b62bd1d Fix passthrough baudrate detection 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 4e08e8f6ad Fix UART context in serial passthrough 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 2b7e5f04fa Fix model ID weirdness 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 3d3bc64d30 Fixed AFHDS2 define 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic e31e3bb8be Fix PXX2 telemetry 2022-08-11 12:15:46 +02:00
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
Peter Feerick 87b3614798 fix: Drop the path from nightly release zips
Nightly release zips were including a subfolder, as
opposed to PR and normal releases.
2022-08-10 14:44:08 +10:00
Peter FeerickandGitHub 2c455e0623 chore(github): Add 'Nightly' choice to bug form 2022-08-08 12:15:38 +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
Raphael CoefficandGitHub b57c1f303e chore(github): Bump macOS runner version to mac-11 (#2176)
* Bump macOS runner version to mac-11

* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Neil HorneandGitHub a07a215018 fix(companion): Timer switch list filtering (#2178) 2022-08-01 11:07:38 +10:00