Commit Graph
100 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub b8a0038c68 fix(fw): enable SYSCFG clock before using EXTI (#5020) 2024-05-25 10:22:50 +10:00
Raphael CoefficandGitHub 390c71cd44 fix(trainer): use the timer passed as argument (#5019) 2024-05-25 10:20:30 +10:00
Raphael CoefficandGitHub dbe40509dc fix(fw): compilation without power switch (#5021) 2024-05-18 14:20:44 +10:00
Raphael CoefficandGitHub 6a59c580ef fix(fw): compilation without AUDIO (#5022) 2024-05-18 14:11:20 +10:00
0d6ce7d22d fix(yaml): flex switch warnings (#4949)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2024-05-03 13:14:50 +10:00
raphaelcoefficandPeter Feerick 2d4c1acbfb fix(usb): use usbPlugged() to detect disconnect
`cdcConnected` is updated from the UI task and cannot be used here.

Fixes #4740
2024-03-30 10:16:40 +11:00
raphaelcoefficandPeter Feerick 06c09579fd fix(usb): do not wait for send state
Fixes #4731
2024-03-30 10:16:40 +11:00
fa12b27438 feat(radio): Discover SBUS trainer availability (#4266)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-01-05 11:48:46 +10:00
Raphael CoefficandGitHub 317766dab7 fix(lua): Re-implement luaSetSerialBaudrate (#4501) 2024-01-03 13:29:02 +10:00
Raphael CoefficandGitHub 6c79bcfd6d fix(sdio): Check card state after each block written (#4500) 2024-01-02 07:18:08 +10:00
Raphael CoefficandGitHub 685e9ec5bc fix(vs1053b): Remove EarSpeaker Spatial Processing (#4492) 2024-01-01 07:41:58 +10:00
Raphael CoefficandGitHub 6b1256db66 chores(lua): Generate keys definitions (#3923) 2023-12-20 21:28:40 +10:00
Raphael CoefficandGitHub de0379c2c2 fix(bw): Restart from bootloader on F4 targets (#4434) 2023-12-20 10:45:19 +10:00
Raphael CoefficandGitHub 26b0581247 fix(soft-serial): Timer toggle mode would skip first period (#4432) 2023-12-19 09:39:38 +10:00
42e245b1da chore: Use CMake way for linker options (#4396)
Co-authored-by: Richard Li <richard.li@ces.hk>
2023-12-14 09:12:31 +10:00
Raphael CoefficandGitHub b66e8220c3 chore: Improve finding Homebrew's Qt5 on macOS (#4291) 2023-12-13 20:28:54 +10:00
Raphael CoefficandGitHub 5153aaeea0 refactor: IWDG driver and EM trigger (#3846) 2023-12-04 07:14:25 +10:00
Raphael CoefficandGitHub 0e7fe7f143 fix(yaml): Properly escape double quotes (#3965) 2023-11-13 09:34:44 +10:00
Raphael CoefficandGitHub f0b0c3d906 fix(lua): Legacy input names (#4310) 2023-11-13 08:28:38 +10:00
raphaelcoeffic 1f06a3074d fix: peripheral clock for TIM13
This prevented the mixer scheduler to work properly on `horus` targets, which is the only one using `TIM13`.
2023-11-11 13:03:23 +01:00
Raphael CoefficandGitHub 373bb33f4b chore: Remove some bloat, reduce firmware size (#4288) 2023-11-08 22:05:54 +10:00
Raphael CoefficandGitHub 6eef2540ff refactor(mixer): Improve mixer "delay" option (#4256) 2023-11-07 10:50:41 +10:00
ca5355e0c7 feat: Add support for Radiomaster MT12 (#4277)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-11-04 18:18:17 +10:00
b48e07026d feat: More flexible ADC inputs (#3870)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2023-11-02 11:07:53 +10:00
Raphael CoefficandGitHub d5989ec479 fix(cpn): Prevent googletest installation (#4265) 2023-10-30 20:11:01 +10:00
Raphael CoefficandGitHub b0267573b0 fix(stdlcd): Model copy going to wrong slot, refresh model headers (#4261) 2023-10-29 11:23:14 +10:00
Raphael CoefficandGitHub 44981ad1f5 chores: Fetch googletest via CMake (#4252) 2023-10-27 19:26:22 +10:00
c93695eeaa perf: Process CRSF telemetry by frame (#4038)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-19 13:31:30 +10:00
Raphael CoefficandGitHub 6d3aa573d4 fix(yaml): Do not limit to static MPM protocol definitions (#4146) 2023-10-18 19:24:21 +10:00
Raphael CoefficandGitHub a49c170193 fix: Enforce switch & pot ranges (#4204) 2023-10-16 18:40:38 +10:00
Raphael CoefficandGitHub ee9d50dca4 fix: Incorrect MPM module status (#4198) 2023-10-15 16:27:38 +10:00
b22a1b5d32 feat: Support for WS2812 RGB LEDs (#3909)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-10-14 14:06:55 +10:00
cb16786a74 feat: SPI flash driver (#4012)
Co-authored-by: Richard Li <richard.li@ces.hk>
2023-10-13 19:51:11 +10:00
Raphael CoefficandGitHub ff2b3ac22a fix: Internal PXX exclusive S.PORT (#3822) 2023-10-13 09:48:32 +10:00
Raphael CoefficandGitHub 3cbcc6b7bf feat: Automatic soft-serial fallback for module ports (#3823) 2023-10-07 12:23:51 +10:00
Raphael CoefficandGitHub f12f10dd5e fix: USB MSD eject (#4158) 2023-10-04 08:19:05 +02:00
Raphael CoefficandGitHub 00cb9c48df refactor: Notify module driver on config changes (#3780) 2023-10-01 15:19:17 +10:00
Raphael CoefficandGitHub c0744f2af3 perf: Use FreeRTOS mutex instead of binary semaphore (#3935) 2023-10-01 11:54:27 +10:00
9b0d3a25c4 fix: Align BT defines for Zorro on other radios (#4117)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-27 17:00:44 +10:00
74ed83a921 fix: ifdef closure typo in some translations (#4113)
Co-authored-by: Richard Li <richard.li@ces.hk>
2023-09-27 09:56:40 +10:00
Raphael CoefficandGitHub 6abd4263a4 feat: better microsecond timer (#4112) 2023-09-26 18:30:55 +02:00
Raphael CoefficandGitHub 1cc1810afc fix: VS1053b initialisation on NV14/EL18 (#4108) 2023-09-25 09:47:15 +02:00
Raphael CoefficandGitHub 66b9bdd3e4 fix: ADC DMA clock enable and inhibit mask for internal channels (#4103) 2023-09-24 19:27:06 +02:00
47ff7284fd fix(radio): Better iteration through mixers on display, sanitize invalid sources (#3999)
* fix: mixer lines with empty source

Fixes #3367

* Fix color mixes display.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-24 15:51:18 +10:00
Raphael CoefficandGitHub 87df8a4f2c refactor: SD card SPI HAL (#3957)
* refactor: SD card SPI driver

* Removed SPI and DMA StdPeriph drivers

* Allow for disabling SPI DMA support

* Disable SPI sdcard CRC support

* Fix 2MHz timer on NV14

* Shared VS1053b driver

* Fix: SPI2 uses PCLK1

* feat: new generic diskio API

* More generic SD_CARD_PRESENT()

* Fixes

* Flush incoming block on token mismatch

* Scratch buffer test

* Incredible hack to re-sync sd card

* fix: SDIO driver
2023-09-23 19:31:56 +10:00
Raphael CoefficandGitHub 60ccd852e3 fix: Prevent enabling USART IRQ if not supported (#4086)
Fixes #4073
2023-09-23 14:45:15 +10:00
Raphael CoefficandGitHub ce03cbf651 fix: yaml generator for clang 15 and up (#4076)
* fix(yaml): use find_clang as for datacopy

* fix: use library path provided by clang python package first

* fix: anonymous structs and unions

* fix: typedefd struct attributes
2023-09-21 15:17:42 +02:00
Raphael CoefficandGitHub 4d148e5c0c fix(radio): Use SWRC_NONE if switch cannot be found (#4005) 2023-09-21 19:25:46 +10:00
Raphael CoefficandGitHub 99f4e4816b fix: iXJT firmware update (#4068) 2023-09-20 05:48:04 +02:00
Raphael CoefficandPeter Feerick c758e80cb8 fix: T18 has no power switch on AUX2 (#4035) 2023-09-20 11:13:39 +10:00
c4f1e7127d chores(flysky): Separate AFHDS2A and AFHDS3 into 2 different module type (#3783)
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type

This should allow to remove some of the hacks added earlier.

* chore: Add some EL18 CI bits

* fix(afhds): cmake defs

* fix(ci): add el18 to commit-tests.sh

* chore(cpn): separate AFHDS2A and AFHDS3

* chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* chore(cpn): update Flysky int module test

* fix(cpn): compile error

* fix(cpn): afhds2a max channels

* fix: TR_MODULE_PROTOCOLS

* enh(cpn): more support for afhds2a and 3

* fix(cpn): rebase compile error

* fix(cpn): bit indexes

* fix(cpn): emi toString

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* enh(cpn): add support for Flysky EL18

* fix(cpn): available protocols

* fix(cpn): rebase moduledata

* chore(cpn): add module fields to model print

* Separate AFHDS2A and AFHDS3 UI settings.

* Fix AFHDS3 conversion from old subtype value.
Fix 'Channel Range' layout on portrait LCD.

* Fix name.

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-07 19:24:03 +10:00
8be8b51813 feat: Surface mode improvements (#3908)
* feat: surface mode improvements

* fix: surface trim display

* fix: HE missing conditional TR_FM

* fix: Also CN,JP & TW for completeness

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-04 14:08:35 +10:00
Raphael CoefficandGitHub e99980f1bf fix(x12s): init periph clocks in ads79xx driver (#3810) 2023-08-08 10:07:07 +10:00
Raphael CoefficandGitHub 017ac82d59 fix: race condition on mixer task handle (#3914)
PR #3451 moved the start of the mixer task to a point in time where the task scheduler is already started (UI task). Before that change, the mixer task would be created before and effectively started after the task scheduler started.

This introduces a race condition on `mixerTaskId.rtos_handle`, as the mixer scheduler might trigger before `xTaskCreateStatic()` returns and the task handle is assigned.

This PR fixes the issue by delaying the start of the mixer scheduler until `xTaskCreateStatic()` returned and the task handler has been properly assigned.
2023-08-07 13:34:38 +02:00
Raphael CoefficandGitHub c0df9e9c44 fix: only SHIFT should not trigger repeated events (#3896)
When pressed continously
2023-08-03 20:49:20 +10:00
Raphael CoefficandGitHub 1912697616 fix: Throttle invert and gimbal dead zone (#3864) 2023-07-30 21:37:21 +10:00
Raphael CoefficandGitHub 574369aca4 fix: Use keysGetMaxTrims() instead of MAX_TRIMS (#3860)
* fix: use keysGetMaxTrims() instead of MAX_TRIMS

* feat: add support for virtual trims

This is necessary for radios like X-lite where half of the trims are simulated
2023-07-30 14:18:58 +10:00
Raphael CoefficandGitHub 76423370cd fix(lua): Add missing switch constants (#3803) 2023-07-30 14:03:35 +10:00
Raphael CoefficandGitHub 9f12025d11 fix: pot types strings (#3863)
Fixes #3858
2023-07-28 18:15:24 +10:00
Raphael CoefficandGitHub 1b844d97a7 fix(x-lite): ADC channel definition (#3857)
- make definitions consistent between `ADC_GPIO_PIN_STICK_XX` and `ADC_CHANNEL_STICK_XX`
- fixed `STICK_PWM_CHANNEL_XX` definitions
2023-07-28 17:13:12 +10:00
Raphael CoefficandGitHub 51b4341e82 fix(el18): Switch ADC channel and direction (#3779) 2023-07-25 16:06:56 +10:00
Raphael CoefficandGitHub 179c677427 fix(flysky gimbals): mask first 4 channels when FS gimbals are detected (#3778)
* fix(flysky gimbals): mask first 4 channels when FS gimbals are detected.
* re-adjust center value to 4096 (2^12).This prevents values higher than necessary being displayed.
2023-07-17 17:53:32 +02:00
Raphael CoefficandGitHub 6a8141f859 chore: JSON Python generator docs (#3775) 2023-07-14 14:57:37 +10:00
Raphael CoefficandGitHub 1bb27e7011 fix: PWM gimbals initialisation and inversion (#3745)
* fix: PWM gimbals initialisation and inversion

* feat: add periph clock support in PWM stick driver
2023-07-14 14:54:32 +10:00
Raphael CoefficandGitHub 6aa1fc90c4 fix: signal polarity for soft-serial & timer based protocols (#3513)
* fix: signal polarity for soft-serial & timer based protocols

* fix: first PWM period after init
2023-05-05 19:20:29 +10:00
Raphael CoefficandGitHub 99da364eaf fix: explicitly locate .data segment in FLASH (#3556)
Rather than using `_sidata` marker.
2023-05-02 09:20:43 +10:00
Raphael CoefficandGitHub 438fd0bd73 chore: add basic stuff for LSP (clangd) (#3516)
* chore: add basic stuff for LSP (clangd)

* Newline
2023-04-24 16:52:31 +10:00
Raphael CoefficandGitHub cb43cf75b9 fix: Flashing internal ISRM and via S.PORT connector (#3374)
* fix: re-enabled flashing via S.PORT connector

* fix: remove check for productId on internal module
2023-03-26 11:30:01 +10:00
Raphael CoefficandGitHub e016598b56 fix: Various mostly X10E soft serial issues (#3382)
* fix: pulse driver with 32bit timers

* fix(mpm): clear RX buffer before signature

* fix: add some debouncing on soft-serial start bit detection

This helps coping with spurious impulses on S.PORT created by payload sent over PPM pin (X10E).

* fix: whenever the RXNE bit is set, read the register

... regardless of errors. That allows for reducing the effect of detected errors.
2023-03-26 11:23:32 +10:00
Raphael CoefficandGitHub 8560c1f6bf fix: x10 Express boot freeze and bluetooth lockup (#3349)
* Fix attempt for boot issue

* fix: reset BT usart context after de-init
2023-03-26 11:07:56 +10:00
Raphael CoefficandGitHub d0b95e0a5b fix(pxx1): Pulse length should be 8us (#3231) 2023-03-26 10:27:05 +10:00
Raphael CoefficandGitHub bf23791fdf fix: Various issues related to IMU sensor (#3171)
* fix(imu): reset error counter on successful IMU query

Please note that the HAL already handles busy I2C bus, so that we should not run into the case where the bus is used and another query is started. However, if that happens, HAL_BUSY will be returned, which leads to -1 being returned in our functions, thus increasing the error count until the sensor stops working.

* fix(imu): move imu init into mixer task

Fixes a race condition between init and use.
2023-02-15 16:05:39 +10:00
3695930242 fix: Sort mixer lines after loading model (#3172)
* fix: sort mixer lines after loading model

Fixes #2806

* fix(cpn): sort mixer lines after loading model

* More efficient swap

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-15 15:11:13 +10:00
Raphael CoefficandGitHub d57afea89e chore: Remove unused files (#3191) 2023-02-15 13:10:14 +10:00
Raphael CoefficandGitHub 5f17156036 fix(b&w): Missing STRT timer labels (#3173) 2023-02-14 12:05:39 +10:00
Raphael CoefficandGitHub d4633ea1de chore: Move __global_locale to FLASH (frees some RAM!) (#3169)
And save a bit of RAM.
2023-02-10 19:52:42 +10:00
Raphael CoefficandGitHub be3f8d74a8 feat(lua): Port of NodeMCU Lua53 read-only tables (#2994)
* chore(lua): revert useless c light function change

This change was part of the eLua LTR patches (based on 5.1), whereby this feature was already integrated in Lua 5.2.

* feat(lua): port of NodeMCU Lua53 read-only tables

# Conflicts:
#	radio/src/lua/CMakeLists.txt
#	radio/src/lua/api_general.cpp

* fix(nv14): missing SDRAM definition

* fix: l_mathop

* fix: use float functions in drawPower()

* fix: ltable resize

* fix: correct name is "bit32"

* fix: first Lua context must be closed last

As the lookup cache is attached to that one

* Revert to Lua using double

* Ensure byte-code compatibility

* Fix possible compatibility issue with `lua_typename`/`luaL_typename`

* Fix Bitmap symbol table

* Re-add table lib for COLORLCD
2023-02-09 20:29:56 +10:00
Raphael CoefficandGitHub 72193eda82 chore: New module/serial API (#3055)
* WiP: new module interface

* WiP: softserial timer DMA

* WiP: setup() and send() in one step

and remove methods specific to internal or external module

* fixes and extra port config

* horus targets

* module ports have moved

* T8 support (only internal module)

* fix nv14

* stupid GCC....

* disable BT

* remove nv14 telem driver

* remove old aux serial driver

* Move module buffers out of pulses.h

* Soft serial fixes and PXX1 support

* Fixed PPM module output

* Fixed CLI

* compilation fixes

* Ported bluetooth and flysky gimbal to new serial driver

* Re-enable soft-serial RX

* fixes and cleanup

* nv14 fixes

* Fix flysky gimbals

* Ghost module

* 16 bytes of RAM

* Remove getByte from module API

* Ghost cleanup

* fix: _half_duplex_input() must be called after usart init

* WiP

* more cleanup

* Remove board specific settings from PXX1 / PXX2 drivers

* A bit of PXX2 header cleanup

* Add support for OVER8 and ONEBIT

* Add some support for inverters (NV14 / EL18)

* Support NV14 power fixes in generic board

* Fix polarity handling

* Fix RX DMA

* Fix mixer not running

* Add soft-serial polarity control

* Quick fix for telemetry polling while module port is changed

* Fix bootloader DEBUG

* Fix MPM telemetry

* Fix pulse start

* DSM2 soft-serial fallback

* DSMP async module restart

* Fix CRSF LUA upstream

* Remove global variable telemetryProtocol

* Use HAL/LL constants

* Fix various issue with AFHDS3 and NV14/EL18 internal module

* Fixed S.PORT unit tests

* fix: update widx after writing at current index

* fix: init error condition

* Fix: possible infinite loop in _find_port()

* Add support for bidir S.PORT init

* Add support for "getLastByte" in HW serial driver

* PXX1: Add support for S.PORT based on IDLE callback

* Fix rebase error

* Fix softserial _rx_fifo_push()

* Add softserial support for waitForTxCompleted()

* Fix MPM flashing (internal / external)

* Fixed external MPM

* Activate RX DMA on internal module

Seems to work with serial passthrough without issues, at least on the L3R PRO.

* Fix softserial DMA on stdlcd F4 targets

* Add softserial support for 32bit timers (mostly TIM2)

* More precise soft-serial

* Fix MPM update using inverters & HW uart

* Raise S.PORT DMA/USART IRQ prio to achieve faster switching to input

* Remove useless delays

* Fix flashing external ELRS module

* Added a retry mechanism for FrSky S.PORT update

* Remove useless enableRx()

* External FrSky modules are all flashed via S.PORT

* Remove power management unit update

This was only used on the first batch of X-lite.
2023-02-09 19:44:32 +10:00
Raphael CoefficandGitHub 57bf180a9b feat(mpm): remove FrSky special treatment madness (#3032) 2023-01-26 11:44:46 +10:00
Raphael CoefficandPeter Feerick 4c272863d3 fix: Prevent firmware overflow for X9D+2019
- Remove __global_locale
- Use same animation for startup and shutdown
2023-01-25 19:42:05 +10:00
Raphael CoefficandGitHub 933253c445 chore(audio): Remove legacy ULAW/ALAW audio codecs (#2991)
... thus saving 1216 bytes of precious flash memory.
2023-01-19 11:16:59 +10:00
Raphael CoefficandGitHub acd95dfad4 fix(B&W): Avoid having constants in SRAM (#2993)
fix constness to avoid having constants in data segment 
.... and thus free some precious RAM
2023-01-18 20:12:35 +10:00
Raphael CoefficandGitHub e67d1a7895 fix: strings constness (#84) 2023-01-18 12:32:07 +10:00
Raphael CoefficandGitHub a25bc828cb chore(bw): Remove doubled CRC table, saving 512 bytes of flash (#2990)
....  thus waisting 512 bytes in Flash for nothing.
2023-01-18 11:05:45 +10:00
Raphael CoefficandGitHub f9bac7ba9b chore: Remove support for binary storage format (#2900) 2022-12-23 13:05:57 +10:00
Raphael CoefficandGitHub 22e51fb6d0 fix(simu): Do not use "update" mode for opening read-only files (#2846) 2022-12-14 18:42:25 +10:00
Raphael CoefficandGitHub 06c359f096 feat(ACCESS): Configure AUX serial port as "External module" (#2562)
* Enable RX DMA on external module USART

* feat(ACCESS): configure AUX serial port as "External module" (#2562)

This allows configuring the external access mod on runtime rather than by compilation option.

* fix: fetch external module driver
2022-12-14 18:41:32 +10:00
Raphael CoefficandGitHub 48be7c263b chore(cmake): CMake cleanup and simplifications (#2620)
* CMake cleanup and simplifications

* Position Independent Code is need for radiolib_native

* Some more cleanup & repair

* Fix SIMU_SRC scope issue

* fix: avoid warnings due to assembler statements from StdPeriph on arm64 native
2022-12-12 13:58:27 +10:00
Raphael CoefficandGitHub d417404187 fix(cz): Add Latin1 Extended-A (0x100-0x17F) (#2841)
Fixes #2811
2022-12-11 15:18:11 +10:00
Raphael CoefficandGitHub 241c5e6925 chore(cpn): Update yaml-cpp submodule to get rid of warnings (#2751) 2022-12-06 19:46:54 +10:00
Raphael CoefficandGitHub 8f3dd7f72e fix(lua): Array indexes for get/setFlightMode and getCurve (#2567)
* Lua array indexes start at 1

* LUA model.setFlightMode: use array index to compute trim index

This allows for providing an incomplete table like this:
```
-- Disable T5 & T6 on FM0
modes = {}
modes[5] = 31
modes[6] = 31
t = {}
t["trimsModes"] = modes
model.setFlightMode(0, t)
```

* Remove warning & cleanup

* Fix trim value constraints in model.setFlightMode()
2022-11-30 15:57:42 +10:00
Raphael CoefficandGitHub 8d83487ceb fix(lua): Do not push long enter key press on touch (#2782)
Relates to #2736
2022-11-23 20:32:33 +10:00
Raphael CoefficandGitHub ab26bf3c66 chore(compilation): Silence some warning on apple silicon (#2712)
When compiling `simu`, `clang` complains about all the StdPeriph headers declaring assembly with invalid operand width.
2022-11-23 15:55:45 +10:00
Raphael CoefficandGitHub 9796c968f4 fix(MSD): confirmation dialog properly shown (#2743)
Prior to this fix, the confirmation dialog would crash because of an issue in libopenui and even then would not be displayed for the lack of the proper parent window.

Fixes #2741
2022-11-16 19:49:52 +10:00
Raphael CoefficandGitHub f7d7ec2070 chore(hal): streamline rotary encoder definitions (#2550) 2022-11-15 19:13:54 +10:00
Raphael CoefficandGitHub 4574fc6b39 fix(crsf): internal module baudrate (#2717) 2022-11-13 13:18:52 +10:00
Raphael CoefficandGitHub 4071eacc92 fix(simu): rotencDt must be updated as well (#2676)
The acceleration calculation is relying on it to compute dx/dt.
2022-11-05 19:39:45 +10:00
Raphael CoefficandPeter Feerick 062564cc41 chore: Bump libopenui for text clipping bugfix 2022-11-04 19:28:31 +10:00
Raphael CoefficandGitHub a08ccd00aa fix(drawSizedText): stop trying to be smart about text clipping (#82) 2022-11-04 19:14:17 +10:00
Raphael CoefficandGitHub 5958930136 fix(lua): [page down long] translation to [page up] (#2668)
Suppress `EVT_KEY_BREAK(KEY_PGDN)` after `EVT_KEY_LONG(KEY_PGDN)` on targets which don't have a physical `KEY_PGUP`.

This way, the sequence is now clean: no more `EVT_VIRTUAL_NEXT_PAGE` emitted after `EVT_VIRTUAL_PREV_PAGE` on these targets.
2022-11-03 21:16:59 +10:00