Commit Graph
10220 Commits
Author SHA1 Message Date
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
HThurenandGitHub cfff1d9dc7 chore(translation): Updates for Danish translations 🇩🇰 (#2907) 2022-12-21 10:59:40 +10:00
philmozandGitHub 866716b708 fix(color): File handle leak in theme manager (#2911) 2022-12-20 21:52:16 +10:00
philmozandGitHub 4841f0673c fix(ui): 'Add trims to subtrims' btn on the Outputs page wasn't updating display 2022-12-20 20:56:12 +10:00
philmozandGitHub 37779a5aaf feat(ui): Change dialog background color to make buttons more visible (#2903)
* Change background colour of the ConfirmDialog box to make the buttons more visible.

* Change background colour of the ColorEditorPopup box to make the buttons more visible.
2022-12-20 08:52:12 +10:00
philmozandGitHub 2206506c82 fix(color): Increase menu max height on landscape screens for better fit (#2896) 2022-12-19 19:10:05 +10:00
philmozandGitHub 73e240f365 feat(color): Natural number sort order for SD card file browser (#2870) 2022-12-18 14:59:13 +10:00
philmozandGitHub 0be85bbad1 fix(color): Restrict time/date to valid values, check for changed values before updating screen (#2884)
* Fix RTC date editing to limit day max value to actual number of days in the selected month.
If month or year is updated check that day value is still in range, if not update day to max value for selected year and month.
Only update UI values that have actually changed.

* Use struct assignment instead of memcpy to initialise property.
2022-12-18 14:40:31 +10:00
Malte LangermannandGitHub 2b00583f46 fix(ui): Check object exists access before accessing it (#2886) 2022-12-18 12:21:30 +10:00
HThurenandGitHub 37e07ec95d chore(translation): Update Companion and Radio Danish Translations 🇩🇰 (#2738)
* Changes after using QtLinguist

* added _DA
2022-12-16 10:26:18 +10:00
philmozandGitHub a1c55a5b02 chore: Cleanup some compiler warnings (#2864) 2022-12-16 10:24:28 +10:00
まっく まるちぷろとこるandGitHub 86687d8f73 Remove unnecessary BREAKSPACE & Update language selection on Japanese translation 🇯🇵 (#2873)
* Remove unnecessary BREAKSPACE
* Update Language Selection
2022-12-15 15:26:40 +01:00
まっく まるちぷろとこるandGitHub ab5a65afab Updates to Japanese translations (#2869) 2022-12-15 09:29:08 +01:00
Malte LangermannandGitHub f101a9665b fix(color): Don't trigger RTC write every second, update all fields (#2867)
Also all fields should be updated, not just the seconds
2022-12-15 10:28:05 +10:00
まっく まるちぷろとこるandGitHub e16989f533 Fixes an extra string in Japanese translation file that was included. (#2865) 🇯🇵 2022-12-14 15:05:55 +01:00
philmozandGitHub 2c47d5440c fix(ui): Tweak mixer overview layout for long names (#2851)
* Fix Mixer layout on color lcd screen to accommodate long input names.
* Adjust layout for portrait orientation.
2022-12-14 19:33:16 +10:00
philmozandGitHub 650406db52 fix(color): EM triggered when checking if modelID unique in certain instances (#2845)
Cast comparison value to int to avoid signed / unsigned comparison error if (curr - warn_buf) > 48.
2022-12-14 19:18:34 +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