Commit Graph
18501 Commits
Author SHA1 Message Date
eshifriandGitHub 8e8e78671a feat: Timer Voice & Haptic option, show elapsed speak time value when countdown (#2711)
* fix "odd" elapsed time announcement

* announce elapsed seconds

* Add support for "Beeps and Haptic" and "Voice and Haptic" for timer countdown.
2023-01-23 20:00:12 +10:00
CliffandGitHub 0b8e4c6003 Allow using Segger RTT as debug output (#3052)
Firmware needs to be built with -DDEBUG=YES and -DDEBUG_SEGGER_RTT=YES to use this feature.
2023-01-23 09:08:31 +01:00
15dca01f42 fix(color): Inactivity alarm suffix proper grammar (singular/plural) (#3064)
* Add translations for "minutes"

* Add missing PLURAL2

* fix grammar

* Next attempt

* include limits.h

* minor cleanup

* Addin some translations for some languages based on inputs

* chore: Remove BREAKSPACE, add ignore flag
And some minor cleanup / formatting

* chore: Revert `TR_USE_VARIABLE_PLURAL`
Use `TR_USE_SINGULAR_IN_PLURAL` properly... thanks @eshifri

Co-authored-by: eshifri <eshifri@hotmail.com>
2023-01-20 12:07:08 +10:00
philmozandGitHub fd04f4a257 chore(color): Cleanup header title display logic (#3059)
Use 'Page' class 'header' property to display title where possible, instead of creating a new object.
2023-01-19 11:18:58 +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
Peter Feerick acd44516d0 fix(color): Display of signed values
Import fix for #2842
2023-01-18 11:52:46 +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
philmozandGitHub fa4e6d795c fix(color): Update of Edge LS v1-part2 when v1-part1 when editing (#3049) 2023-01-17 15:11:01 +10:00
philmozandGitHub 7dc2f89917 fix(ui,cpn): Error in value conversion when loading LS data (#3026)
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).

* Remove debug print.

* Fix handling of telemetry sensors in Companion.
2023-01-17 14:35:13 +10:00
philmozandGitHub 0610449c82 fix(color): Crash on inputs/mixes pages mixes/expos limit reached (#2985) 2023-01-17 13:28:53 +10:00
philmozandGitHub 60ef3a545d fix(cpn): Delete old models from radio before saving new models (#3020)
* Delete model files from radio before saving them from Companion.

* Update comments. Show error if file delete fails.
2023-01-17 13:05:33 +10:00
Neil HorneandGitHub 472d5d1a7c fix(cpn): Use correct file types/extensions on Save and Export (#3025) 2023-01-17 12:04:11 +10:00
HThurenandGitHub 98318bfbab chore(translation): DA minor changes (#3053) 2023-01-17 11:57:58 +10:00
HThurenandGitHub b390c9156f fix(cpn): Translate OFF in external module setup (#2998)
* Translate OFF in external module setup

* Update moduledata.cpp
2023-01-15 12:10:34 +10:00
まっく まるちぷろとこるandGitHub ac00e8a581 fix(translation): JP had overlapping strings due to line breaks (#3004) 2023-01-15 12:08:54 +10:00
philmozandGitHub dca52c4ae5 fix(color): Update top bar date & time when in setup pages (#3037) 2023-01-15 12:06:18 +10:00
Matthias HryniszakandGitHub a68c0cf58a feat(diags): Red LED before RTC data, blue LED after (#3006)
* Added turning the red LED before RTC data and blue LED afterwards

With the LED turned RED if the RTC data retrieval fails it will stay red.
This will at least be an indication that the RTC startup encountered
a problem. For now there is no indication that this problem occurred.

* GH-3005 Moved LED manipulation to conditionally compiled when RTC operation happens
2023-01-15 12:02:03 +10:00
3djcandGitHub 8ee73a5800 fix(lua): Remove faulty carryTrim, replace with trimSource (#2995)
* Fix carryTrim in LUA

* Remove carryTrim
2023-01-15 11:54:57 +10:00
Alessandro ApostoliandGitHub ea162d2158 fix(lua): fix drawHudRectangle for roll = 0 (#2978)
- fixed an extra line at the bottom of the hud rectangle
- fixed overflowing hud rectangle for horizon outside viewport (pitch > 0)
2023-01-15 11:50:44 +10:00
MichaelandGitHub 34ea422e39 chore: freeRTOS task stack diagnostics (#2976)
* migrated stack diagnostics (available, free) to using built in FreeRTOS builtin function

Note: main stack must be and is treated differently as it is not under FreeRTOS control. main stack is painted by the STM32 startup routine. free main stack is calculated checking the remaining painted stack area.

* corrected my merge error

* missed a blank
2023-01-15 11:48:04 +10:00
philmozandGitHub cb9f411036 fix(color): Invalid custom curves + layout updates (#2973)
* Layout updates and bug fixes for curve editor.
- Fix issue 2972 where an invalid curve could be created
- Use vertical layout or list of points
- Add border to preview to better show end points
- Fix issue where preview was redrawn very frequently
- Better organisation of curve edit classes

* Fix to refresh curve preview on input edit page when parameters changed.
2023-01-15 11:23:40 +10:00
philmozandGitHub dd8ab3037f fix(ui): Adjust model setup button layout to better fit portrait screen (#2956)
* Adjust model setup layout to better fix on portrait LCD screen.

* Set buttons to fixed width and allow to grow vertically to fit text.

* Cleanup layout logic - buttons stretched horizontally, centered vertically.
2023-01-15 10:40:40 +10:00
Malte LangermannandGitHub ea9dfa0a36 chore(ui): Convert GVAR tab to LVGL (#2945) 2023-01-15 10:27:35 +10:00
philmozandGitHub 1bffd260a0 fix(lua): Add missing switch and countdownStart properties (#2979)
Add the switch and countdownStart properties to the getTimer and setTimer Lua functions.
2023-01-08 11:02:55 +10:00
philmozandGitHub e1a8066707 fix(color): Add missed translations in TW (#2971)
`TR_MODEL_QUICK_SELECT` and `TR_LOADING`
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-01-02 10:55:38 +10:00
Peter Feerick 4b838c7354 fix: TW missing TR_MODEL_QUICK_SELECT
Was missed in #2895
2023-01-02 10:46:04 +10:00
eshifriandGitHub 346ac3ce51 fix(color): Precision for V2 in TIMER LS (#2969) 2023-01-01 13:58:39 +10:00
Peter FeerickandGitHub 539b407b58 feat(color): Confirm before duplicate or saving model as template (#2931)
* fix(color): Confirm before duplicating model

* fix(color): Confirm before saveAsTemplate
2023-01-01 11:50:18 +10:00
philmozandGitHub 655aa42c6f fix(color): More consistent button colors, GV buttons checked/pressed (#2944)
Make ButtonMatrix button text color behave like TextButton for flight modes and pre-flight checks.
Show 'GV' button as checked if corresponding input value is a global var.
2023-01-01 11:30:12 +10:00
eshifriandGitHub 7e503e823e fix(color): 6POS on main view not always redrawn when changed (#2947) 2023-01-01 11:22:58 +10:00
philmozandGitHub 943b1e7cd0 fix(color): Fix single widget layout size, improve code readability (#2962) 2023-01-01 11:11:59 +10:00
3djcandGitHub bc8087cbf1 feat: Add Radiomaster Boxer (#2877)
* Radiomaster Boxer

* chore: Add Build system bits

* chore: `EEPROM_VARIANT` no longer used
2022-12-31 16:45:09 +10:00
raphaelcoeffic 330e673826 fix(taranis): XJT internal module initialization 2022-12-29 10:25:29 +01:00
277c1cae37 fix(color): Clear Lua lcd buffer and display 'Loading...' (#2916)
* Clear LCD buffer before use for standalone Lua scripts.

* Fix rebase merge issues.

* Add translation.

* Add translation.

* Add translations.

* Add translation/

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-28 10:15:10 +10:00
Peter FeerickandGitHub 8d5a509ce0 fix(translation): Add SpaceMouse, External Module plus other fixups (#2940)
* fix(translation): Add SpaceMouse/External Module
Add missing entries as needed

* chore: Update PL

* chore: Update DE

* chore: Update IT
2022-12-25 10:34:18 +10:00
Malte LangermannandGitHub a1eabf11a5 chore: convert RTC to HAL (#2866)
* chore: switch RTC to HAL

* chore: remove unneeded files

* fix simu/simulator
2022-12-23 15:38:37 +10:00
Raphael CoefficandGitHub f9bac7ba9b chore: Remove support for binary storage format (#2900) 2022-12-23 13:05:57 +10:00
philmozandGitHub 919b83af42 fix(ui): Ignore hidden file when iterating SD card contents (#2925)
* Ignore hidden file when iterating SD card contents.

* Fix compile error.
2022-12-23 11:18:00 +10:00
philmozandGitHub f8f2258a79 fix(ui): Update flight mode color on startup/theme edited/theme changed (#2928) 2022-12-23 11:08:22 +10:00
philmozandGitHub 3f08af6120 feat(color): Quick Model Select, keep active model in view when changing labels (#2895)
* Fix rebase merge issue.

* Incorporate solution from @ParkerEde in PR #2626

* Fix selection logic for models.

* Select model on first press.

* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.

* German translation.

* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.

* Add translations.

* Prioritise active model as selected model when the set of visible models changes.

* Fix selection ordering when using scroll wheel.
Minor code cleanup.
2022-12-23 09:58:49 +10:00
MichaelandGitHub c099a74da4 fix(color): Center flight mode text and 6Pos numbers (#2893)
* centers flight mode text, 6Pos indicator and 6Pos numbers in square

replaces ticks with numbers in 6Pos indicator

* stole @philmoz idea to bold the selected switch position to make it stand out more
2022-12-23 09:42:58 +10:00
MichaelandGitHub 21f686ee9b fix(color): Ouputs tab wrong value used for min/max highlighting (#2926) 2022-12-23 09:40:01 +10:00
philmozandGitHub 8eb55452a5 fix(color): Display of model notes when selecting model (#2922)
* Fix display of model notes when selecting model.
Fixes issues 2722 and 2921.

* Move view close code as suggested by @pfeerick.
2022-12-22 19:01:29 +10:00
philmozandGitHub da5d056257 feat(ui): Improvements to color picker (#2909)
* Revised color picker:
- add title to popup window
- add Save and Cancel buttons
- Source value only updated when 'Save'' button pressed
- Add editor to select from system theme colors

* Center 'Cancel' and 'Save' buttons, make them both the same size and fill available space.
Reduce width of dialog box on portrait screens.
2022-12-22 18:47:26 +10:00
eshifriandGitHub 458dc049e5 fix(color): Source selection for curve display (#2894) 2022-12-21 21:50:53 +10:00
Peter FeerickandGitHub 4ad5d87dfc chore: Bump minor version number
Hopefully @raphaelcoeffic won't notice this 🤭
2022-12-21 21:43:57 +10:00
HThurenandGitHub cfff1d9dc7 chore(translation): Updates for Danish translations 🇩🇰 (#2907) 2022-12-21 10:59:40 +10:00
5cf2141b59 chore(cpn): Run Qt Linguist updater, translation updates (#2685)
* chore(cpn): Run Qt Linguist updater

* Fix translation errors

* fix: Reference all available translations

* Add Chinese to available radio voice languages

* fix(cpn): Add missing voice languages to firmwares

* Add translation to analogs

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-12-21 10:41:54 +10:00
philmozandGitHub 866716b708 fix(color): File handle leak in theme manager (#2911) 2022-12-20 21:52:16 +10:00