Commit Graph
18395 Commits
Author SHA1 Message Date
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
eshifriandGitHub a267520236 fix(color): Initialise theme variables to nullptr before first use (#2787) 2022-11-25 10:09:16 +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
Malte LangermannandGitHub 328fba76b4 fix(ui): Superfluous and invalid attribute initialisation (#2747)
* fix(ui): fixed a memopry leak and a waring in topbar.cpp
* fix: Restore ScreenMenu on exit of topbar widget setup
2022-11-23 16:04:01 +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
eshifriandGitHub 940f955bbc fix(color): Refresh color picker labels when chg between HSV and RGB (#2774) 2022-11-22 20:14:48 +10:00
Neil HorneandGitHub f84c26b615 cpn(fix): yaml encode/decode telemetry sensor subId (#2756) 2022-11-18 13:30:23 +10:00
ulfhedlundandGitHub 3dc8843809 chore: Swedish translation corrections (#2755)
* Minor corrections

* Minor corrections
2022-11-18 13:26:33 +10:00
eshifriandGitHub 8d16d17875 fix(color): Use correct default for Outputs PPM Center popup keyboard (#2759) 2022-11-18 13:24:22 +10:00
Neil HorneandGitHub 8b13813126 cpn(fix): Multi module DSM protocol options (#2724)
* cpn(fix): Multi module DSM protocol option check box

* Add servo rate option for multi DSM

* Use bitmap helper functions
2022-11-17 16:03:10 +10:00
37b1b2ee28 fix: Always show GPS button in radio setup (#2732)
* fix: Always show GPS button in radio setup
It is related to GPS telemetry, not internal GPS.
This probably needs to implemented differently in the future.

* de optimization (#2737)

* de optimization

since the GPS button is now displayed by default (#2732), the labels for the "Alarms" and "LCD" are much too long and thus GPS is pushed into a new line. This looks unattractive and is a waste of space

* Update de.h

* chore: Cleanup

Co-authored-by: ParkerEde <ralf@krusecity.de>
2022-11-16 20:16:04 +10:00
richardclliandGitHub 2ab1a9f725 fix(NV14/EL18): Reboot to charge screen if USB is plugged in at poweroff (#2731)
* Added reboot when detect USB is plugged.

* Fine tuned boardOff routine.
2022-11-16 20:14:26 +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
Neil HorneandGitHub a88611ac27 cpn(fix): gyro and joystick (#2740)
* Add yaml conversion of gyro analogs

* Align XLites, X12S, X10 and T16 family gyro and joystick config with radios
2022-11-15 20:43:49 +10:00
Raphael CoefficandGitHub f7d7ec2070 chore(hal): streamline rotary encoder definitions (#2550) 2022-11-15 19:13:54 +10:00
Peter FeerickandGitHub ab5d4f0e20 chore(github): Node.js 12 based actions deprecated (#2513)
* chore(github): Node.js 12 based actions deprecated

* chore: Remove more dependency ver warnings
 - `jurplel/install-qt-action@v3` finally released
 - `actions/cache@v1` is thus no longer needed, so its warning gone also
 - leaving on only `maxim-lobanov/setup-xcode` remaining
2022-11-15 16:39:24 +10:00
richardclliandGitHub 099e2adda9 fix(nv14;el18) Fix clicks when powering on, changing volumeStreamlined the SPI audio init of EL18. (#2730) 2022-11-15 12:25:56 +10:00
Raphael CoefficandGitHub 4574fc6b39 fix(crsf): internal module baudrate (#2717) 2022-11-13 13:18:52 +10:00
richardclliandGitHub 320ff206b9 fix: Correction to one of the AFHDS3 mode names (#2710) 2022-11-11 22:23:37 +10:00
ParkerEdeandGitHub ce2f8da2a7 chore: DE translation updates (#2701)
some more DE translations
2022-11-11 22:22:20 +10:00
eshifriandGitHub 8caca6b129 fix(color): 6POS display on the main and calib. screens (#2684)
* Fix 6POS switch display on the main and calibration screens

* remove unnecessary TRACE()
2022-11-06 15:56:38 +10:00
HThurenandGitHub 8c707cc77c chore(cpn): More Danish translations (customfunctiondata) (#2681) 2022-11-06 10:09:12 +10:00
3djcandGitHub 1738851a46 fix(ghst): Fix Ghost module remote menu for radios with rotenc (#2618) 2022-11-06 09:47:14 +10:00
Peter FeerickandGitHub 579758a221 fix(color): Outputs lines not updating after reset (#2661)
`invalidate` is not updating all the line elements
2022-11-05 20:25:36 +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 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
zyrenandGitHub f5f1bd4c18 chore: Add missing CN and TW translations (#2670) 2022-11-03 21:11:32 +10:00
a6168b40fb fix(nv14): Use PP for extmod invert output, remove redundant init (#2667)
* Use PP for extmod invert output and remove redundant pwn pin init.

* Reshuffled lines for increased readability

Co-authored-by: Risto <rotorman@users.noreply.github.com>
2022-11-03 21:11:04 +10:00
ulfhedlundandGitHub 9a9aba9824 chore: More Swedish translation updates (#2663)
* Minor updates

* Minor updates
2022-11-02 19:56:58 +10:00
Peter FeerickandGitHub 8ce3612f9d chore: Translate some more radio firmware elements (#2607)
* feat: Translate time modes using exist. trans. str

* fix: Define `STR_MONTHS` once not four times

* fix: Translatify `Show mixer monitors` toggle

* chore: Add `TR_THROTTLE_START`

* chore: Update `IT`

* chore: Update `DE`
2022-11-01 13:12:06 +10:00
HThurenandGitHub 3d687c6b7b chore: More translations to DK (#2656) 2022-11-01 12:08:47 +10:00
ulfhedlundandGitHub bea7dade53 chore(color): Add translation for left stick (#2655)
* TR_LEFT_STICK added

* STR_LEFT_STICK added

* Added translation for stick mode

* TR_LEFT_STICK added

* Minor cleanup - removed one commented line of code

* Replaced radio specific define

* Added proper translations from translators

* chore: Whitespace cleanup
2022-11-01 12:01:59 +10:00
Raphael CoefficandPeter Feerick e154ee1dea chore: Bump libopenui for #2619 fix 2022-10-31 21:16:39 +10:00
Raphael CoefficandGitHub b409c6ff92 fix(nv14/el18): external module RX inversion (#2647)
The previous state would set/reset `PE15` (unused) instead of `PI15` (connected to the inverter).
2022-10-31 20:58:16 +10:00
zyrenandGitHub db709b16b8 chore: Update CN & TW font library (#2638) 2022-10-31 20:47:43 +10:00
Raphael CoefficandGitHub 370aff619f fix(color): EXIT key handling (#2658)
This issue has been introduced in #2573.
2022-10-31 20:41:37 +10:00
Raphael CoefficandGitHub b74cf8b711 fix(color): channel values in LS (#2659)
Fixes #2613
2022-10-31 20:06:57 +10:00
Peter Feerick 6557f70a47 chore: Bump libopenui for #2649 fix 2022-10-31 19:19:21 +10:00
Raphael CoefficandGitHub 40caa999f4 fix(color): prevent event bubbling in Page and TabsGroup (#2642)
... otherwise unexpected things happen
2022-10-31 17:46:31 +10:00
Raphael CoefficandGitHub 93ec316a4b feat: Prevent OFF for internal module in hardware settings (#2654)
* Prevent OFF for internal module in hardware settings

* chore: Change "Mode" to "Type"
2022-10-31 13:39:42 +10:00
Raphael CoefficandGitHub b61e2d8dda fix(telemetry): sensor processing with legacy polling disabled (#2653)
Fixes #2546
Fixes #2591
2022-10-31 13:18:39 +10:00
Raphael CoefficandGitHub 6763c97934 fix(lua): re-implement LUA "tap" events (#2646)
Fixes #2617
2022-10-31 11:22:29 +10:00
Raphael CoefficandGitHub 61a69d5626 fix(isrm): add module options to ISRM/D16 (#2644)
Fixes #2597
2022-10-31 10:48:33 +10:00
Raphael CoefficandGitHub 6ea408230c fix(telemetry): set warning/critical to default values before reading YAML (#2643)
Otherwise, these values will be 0 if either the old or the new tags are not present, which is the case when coming from 2.7.
2022-10-31 10:38:15 +10:00
Raphael CoefficandGitHub e626a4e911 fix(sdcard): apply the same fix as #2517 to NV14 (#2641) 2022-10-31 09:17:37 +10:00
Peter FeerickandGitHub 58742b526e fix(gh): Don't install arm-none-eabi-gcc pkg (#2636)
`mingw-w64-i686-arm-none-eabi-gcc` is not actually needed.
2022-10-28 13:01:02 +10:00
Neil HorneandGitHub a22075c1c6 fix(cpn): save component settings from Update Settings tab (#2635) 2022-10-28 13:00:22 +10:00
Neil HorneandGitHub 6b01a0c673 chore(cpn): Switch from component names to ids (#2602)
* cpn(fix): Switch from component names to ids

* Fix Win compile

* Sound packs list entries should not be editable
2022-10-27 21:52:05 +10:00
HThurenandGitHub 56617dc209 feat: Voice choice now in native language (#2612)
* Voice choice now in native language

* Corrected to TR_VOICE_ITALIANO

* Changed se.h to native

* Changed en.h with German

* Changed it.h

* Changed it.h

* Changed to native for german, czech, chinese and added TR_VOICE_TAIWANESE

* Changed TR_VOICE_TAIWANESE for swedish

* Changed TR_VOICE_TAIWANESE for CZ

* cn and tw changed

* Update jp.h

* Update nl.h

* Update pl.h

* Update pl.h

* chore: Update native English
2022-10-27 13:02:52 +10:00