zhaobing and Peter Feerick
9d7abf78eb
Add LiteRadio3_Pro target on companion and simulator
2022-08-20 10:59:50 +10:00
zhaobing and Peter Feerick
3833a209af
Add BETAFPV LiteRadio 3 Pro ELRS radio
2022-08-20 10:59:50 +10:00
3djc and GitHub
6648dffc8c
fix: Prevent TF lockup on radios using SDIO ( #2210 )
2022-08-19 15:16:27 +10:00
Michael and GitHub
34dadf7b65
fix: Audio/haptic feedback for all hard keys except trim switches ( #2201 )
...
* Added audio/haptic feedback for all hard keys excpet trim switches.
Changed logic from application decides if feedback has to be given (was inconsistent and inefficient) to key driver detects button down and triggers immediate feedback if radio settings allowed for acoustic and/or haptic feedback (radio settings, radio setup, sound set to All)
With this change all instances of the application calling for feedback were removed in favor of the centralized approach.
This first commit also introduces a dummy function for providing feedback on key presses in boot.cpp because keys.cpp is also used as the bootloader key driver but with no logic to determine if feedback is allowed. Using a define that indicates keys.cpp is compiled for use in the bootloader would make a much nicer and backwards compatible solution.
* don't want to change libopenui so silence onKeyPress (application requests feedback) in audio.cpp
* made generation of acoustic/haptic feedback conditional on BOOT define, i.e. no feedback if keys.cpp is compiled for the bootloader
* removed onKeyPress()
* fixed crash on acoustic/haptic feedback on hard keys by restoring keys.cpp and moving logic to LvglWrapper.cpp/keyboardDriverRead().
Removed call to getWindowEvent() which would just call getEvent(false) by directly calling getEvent(false). This allowed to remove getWindowEvent() entirely as it was only used by keyboardDriverRead().
* fix: Audio header include no longer needed
2022-08-19 15:00:50 +10:00
Peter Feerick and Peter Feerick
8c228bc50f
chore: Bump submodule libopenui
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
2c4533ddbd
textedit: extra_chars has been removed
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
00630277a8
Re-add receiver ID
...
Fixes #2146
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
e6dc23b77f
Module setup improvements
2022-08-18 12:38:35 +10:00
Raphael Coeffic and Peter Feerick
647d19bbc9
Fix access settings pop-ups
2022-08-18 12:38:35 +10:00
Peter Feerick
6028c24f36
chore: Update paths in legacy build scripts
2022-08-16 20:41:09 +10:00
Peter Feerick and Peter Feerick
e1ea57cb60
fix: Missing conditional for BATTERY_DIVIDER
2022-08-16 18:44:57 +10:00
Peter Feerick and Peter Feerick
0e1b430ae9
chore: Minor cleanup
2022-08-16 18:44:57 +10:00
Peter Feerick and Peter Feerick
d0b693a8dc
fix: Radios without RTCLOCK need tmr10ms also
...
Fix bug introduced in #1967 which only affects !defined(RTCLOCK) boards
2022-08-16 18:44:57 +10:00
XING and Peter Feerick
299991bc11
Add iFlight Commando8
...
Add iFlight Commando8 ELRS radio
2022-08-16 18:44:57 +10:00
Peter Feerick and Peter Feerick
7800a6de42
fix: B&W needs to know about spaces as well!
...
Finishes #645 as model notes with `_` and `0x20`
(space) are tested for model notes filename also.
2022-08-14 11:50:40 +10:00
Peter Feerick and Peter Feerick
c088d1d2f9
chore: Use isFileAvailable instead of f_open
2022-08-14 11:50:40 +10:00
Peter Feerick and Peter Feerick
15a19e1fef
fix: Use correct path for model name audio
...
It is expected to have `_` in the name in place of spaces.
Uncaught side-effect of #645 . It now looks for `_` instead
of whitespace first, and then checks for model name with
whitespace.
Also, trigger postModelLoad() alams when changing model
for checks and playing model name.
2022-08-14 11:50:40 +10:00
Peter Feerick
b74cd10927
fix: Showing wrong letter for switch warnings
...
Resolves #2202
2022-08-12 15:50:11 +10:00
Raphael Coeffic and Raphael 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 Feerick and Raphael Coeffic
0f72977b1d
fix: Missing BOOTCMD GPIO defines for TPro
...
Was clobbered in fa33894 of #1089
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
c56b62bd1d
Fix passthrough baudrate detection
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
4e08e8f6ad
Fix UART context in serial passthrough
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
2b7e5f04fa
Fix model ID weirdness
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
3d3bc64d30
Fixed AFHDS2 define
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
e31e3bb8be
Fix PXX2 telemetry
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
df0d115a72
Fix PXX2 authentication support
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
4cecdc0cae
PXX2: fix CRC check and frame end
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
b620f6dc79
Enable RX DMA on some taranis targets
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
267fa84f3f
WiP: better restartModule()
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael 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 Coeffic and Raphael Coeffic
796433b7f6
Fixed telemetry input for FlySky iBUS sensors
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
b9b31a659f
Fix NV14 simulation
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
66e08da1b8
Fixes for targets without external module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
56eb564b86
Detect NV14 vs EL18 at boot
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
e8d82348e0
MPM proto scan: fix RfScanDialog
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
8f85097c90
MPM proto scan: use RTOS timers instead of polling for timeout
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
c413790892
Horus targets: use RX DMA with internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
246840f065
Moved telemetry processing to module interface
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
39c61408e7
AFHDS3: Model ID & fixed model switch
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
dec73c5fb1
Fixed DMA fifo clear()
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
4eeef9e916
Fixed LCD driver (no copy necessary)
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
bea7e4ec13
AFHDS3: better layer separation (transport / protocol logic)
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
f75cb3f97d
Disable AFHDS3 by default on B&W targets
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
bb6c6d6e2d
WiP PoC AFHDS3 internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
5132e11d41
Add some support for RX DMA on internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
db73e4cd87
Move AFHDS3 to new module interface
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
1a918bf072
Improve NV14 CMake
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
f952c5f7c7
Internal and external module buffers are now private
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
ab6033e4d5
Use static string
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
99673224bf
FlySky UI fixes
2022-08-11 12:15:46 +02:00