Commit Graph
4483 Commits
Author SHA1 Message Date
philmozandGitHub 7aadf5e3ef fix(color): Slider control blocking RTN key, slider rotEnc activation (#3966)
* Fix for slider control blocking RTN key.

* Fix rotary encoder activation for slider.
2023-08-26 21:18:35 +10:00
philmozandGitHub c1e83c2026 fix(color): Buttons on model setup page not showing active state (#3942) 2023-08-26 20:52:32 +10:00
Malte LangermannandGitHub b377a8b5d4 chore: SDIO conversion to HAL (#3182) 2023-08-13 18:56:39 +02:00
3djcandGitHub 3342d21195 feat: improved OLED brightness handling (#3773) 2023-08-12 11:17:50 +02:00
3djcandGitHub ae8e1fff8a fix: Trainer jack initialisation and driver cleanup (#3811) 2023-08-09 21:08:42 +10:00
philmozandGitHub f7037a92b0 chore(color): Model setup page cleanup (#3899)
* Cleanup model setup page code. Make buttons consistent height.

* Remove unused object constructor.
2023-08-09 18:29:59 +10:00
ac4aeef579 chore(color): Use strAppend and strncmp on widgetName to avoid termination issues (#3905)
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-05 18:09:53 +10:00
bd47b491ba fix(color): Fix widget default colors
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-04 19:26:49 +10:00
philmozandGitHub 4272a03025 feat(color): Convert top bar display in main view into widgets (#3700)
* Convert radio info (USB, volume, signal strength), date/time and internal GPS display from top bar into widgets.

* Fix B&W build.
2023-08-04 12:14:31 +10:00
philmozandGitHub 69338ab0ab chore(color): Libopenui refactor (#3614)
* Refactor object creation logic.
Remove unused LVGL features.

* Remove unused files.
Fix height for widgets.

* Rename 'OpenTxTheme' class to 'EdgeTxTheme'.
Cleanup commented out code.
Cleanup unused code from 'etx_lv_theme.cpp'.

* More cleanup.

* Move more style code to etx_lv_theme.cpp

* Update license

* Make default button height match other controls.

* Fix curve edit layout.

* Fix layouts.

* FormWindow and FormGroup provided identical functionality - rename FormGroup to FormWindow and remove duplicate.

* Simplify menu icon handling.
Remove unused 'flysky.cpp' file.

* Fix window size change.

* Simplify page header code.
Fix statistics view page.

* Remove unused file.
Replace redundant 'Subtitle' class with a macro.
Fix compiler warnings.

* Fix compiler warning in LvglWrapper.cpp.
Remove unused code in static.h.
Simplify about page.

* Rename ICON_OPENTX to ICON_EDGETX.

* Fix github build error.

* Fix github build error (attempt 2).

* Move ButtonMatrix styling to etx_lv_theme.cpp.

* Scroll bar consistency.

* Use styles for ButtonMatrix text color.

* Use 'active' color for selected USB advanced setup buttons. Move error message to bottom of page.

* Create style for popup window title bar.
Simplify advanced USB setup code.
Remove unused libopenui/carousel.* files.

* Add style for modal popup content.

* Remove unused BUTTON_BACKGROUND flag.

* Replace GridLayout with FormWindow. Remove unused gridlayout.h file.

* Fix rebase.

* Merge ChoiceEx class into Choice class code.
Remove unused CurveKeyboard.

* Use LVGL bar for progress indicator.
Update only style colors when theme changes (don't recreate all style settings).

* Move ProgressDialog class to dlalog.h/dialog.cpp files.

* Simplify trim and slider code in main view.
Simplify the hardware inputs code.
Fix dialog size.
Remove unused code in layout factory.

* Cleanup unused code.

* Add style for FormWindow class.
Merge BaseNumberEdit class into NumberEdit class and remove BaseNumberEdit.
Remove more unused files.
Cleanup libopenui_config.h files.

* Re-organise libopenui include files to fix build error.

* Fix build error.

* Add missed styles to etx_lv_theme.cpp.
Delete commented out #includes.
More cleaning up of libopenui_xxx.h files and dependencies.
Re-enable LVGL CHECKBOX feature.

* Merge libopenui_helpers.h into opentx_helpers.h file.

* Fix firmware build.

* Use object constructors for LVGL object creation as suggested by gagarinlg.
Add style for number edit text alignment.
Fix background color for focussed control.

* Move color related stuff from libopenui_defines.h to colors.h.
Remove need for libopenui_depends.h file.

* Merge libopenui_types.h content into opentx_types.h file.

* Rename CheckBox class to ToggleSwitch.

* Restore code to update flight mode text color when theme changes.

* Cleanup some more unused code.

* Remove redundant theme.h file.

* Fix rebase.

* Fix button matrix style.

* Fix rebase

* Fix rebase

* Ensure correct initialisation of Choice object.

* Fix rebase.

* Make the slider control bigger to make touch activation easier.

* Fix build error.

* Fix slider logic and cleanup code.

* Use ACTIVE theme color for inputs, mixes, LS, GV and SF.

* Improved border width consistency and focussed state consistency.

* Remove duplicate copy of the default theme colors.
2023-08-04 11:04:54 +10:00
3djcandGitHub 490fb951f8 fix: Do not display 0 Err when when info is unavailable (#3890)
* fix: unsuported %zu in arm compiler

* fix: do not display 0 Err when when info is unavailable
2023-08-03 14:41:13 +10:00
3djcandGitHub 159db764e0 fix(bw): Remaining/elapsed display on BW telem topbar (#3871) 2023-07-31 11:21:57 +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
f1c98955a7 fix(color): Switch not being auto detected when moved in Flight Mode edit page (#3875)
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-07-30 12:10:31 +10:00
2450db470d fix: Prevent functional degradation if SD has less than 50MB free space (#3802)
* fix: Prevent functional degradation if SD has less than 50MB free space (#3730)

* justification: https://github.com/EdgeTX/edgetx/discussions/3666

- checks SD card free space at startup, start of logging and writing screenshots
- issues warning to user if SD card has less than 50MB free space
- will not write logs or screenshots if free space is less than 50MB at activation timerReset
- fixes crash of warning popup in logs.cpp (#3728)

* update: warning message if SD card fills up to threshold while logging

* empty commit

* call popup in non-blocking mode

* make b&w compatible to non-blocking popup calls

* 2nd attempt

* Popup:

- turns on backlight if dimmed due to inactivity setting
- if backlight is dimmed due to inactivity setting backlight can turnd on again by any controls

* #3599

* fixed b&w UI

* updated languages CN, CZ, DA, DE, FR, HE, IT, PL, PT, SE, TW

* chore: Update translations

* chore: Remove magic number

* chore: JP language update for SD card full (#3809)

* fix: Don't spam simulator log with file close msgs

---------

Co-authored-by: Michael <mha1@users.noreply.github.com>
2023-07-30 12:03:24 +10:00
9e7a331fa6 feat: Splash screen delay opt for colorlcd, startup sound disable opt (#3451)
* Enable startup splash screen duration for color LCD radios.
Add option to disable startup sound.
Add Companion support for changes.

* Add translation string for Hebrew language file.

* Fix rebase.

* chore: Add T20

* Update translations.

* Update translations.

* Update translations.

* Update translations.

* Right justify radio setup controls.

* Use longer translations for all radios.

* Enable splash screen timeout for NV14/EL18.

* Suspend watchdog timer to prevent EM if long splash display time selected.

* Simplify SPLASH_TIMEOUT code.

* Use WDG_RESET instead of watchdogSuspend.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-30 11:58:28 +10:00
Peter FeerickandGitHub cdaf68e0ed feat(128): Swap modelname for timer1 if defined (#3856) 2023-07-28 21:33:37 +10:00
3djcandGitHub 5b1680307d fix(bw): Missing characters in French and Czech translations (#3827)
* fix: fix fr for bw radio

* feat: add utf8 substitution map for French

* fix: fix Czech

* fix: add more Czech substitutions

* Add ň to CZ fonts (thanks to philmoz)
2023-07-28 20:46:09 +10:00
philmozandGitHub 7a85d6f029 fix(color): Expand analog diagnostic page to full height (#3855) 2023-07-28 18:57:15 +10:00
3djcandGitHub 81f9b66ee5 fix(bw): Keys diag displaying wrongly navigation keys (#3859) 2023-07-28 18:49:31 +10:00
philmozandGitHub e79768baf1 fix(color): When in screen settings, ignore SYS/MDL, treat TELE as RTN (#3845)
* Change behaviour of TELE button on widget setup page to work like RTN button.
Prevents recursive loading of widget setup page.

* Ignore SYS & MDL buttons on widget setup page.
2023-07-25 15:22:16 +10:00
3djcandGitHub 5386fe92ad feat(bw): Auto expand sensor list when discovering sensors (#3828) 2023-07-23 11:19:11 +10:00
philmozandGitHub 27c622b5e8 fix(color): Crash in MPM settings from PR #3637 (#3819) 2023-07-18 11:27:55 +10:00
8325f722c4 feat: Remove MPM "No Telemetry" option on non-FrSky radio (#3637)
* Remove MPM no telemetry GUI on non FrSky radio

* chore: bw212 may not always be frsky

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-16 14:46:22 +10:00
philmozandGitHub bd92f70056 feat: Support all current timezones for GPS (#3406)
* Support all current timezones.

* Fix function name and calculation for timezone offset.

* Allow setting any time offset value from -12 to +14 in 15 minutes increments.

* Alternate timezone editor in Companion (from elecpower).

* Fix compiler warning.

* chore: Add the T20
2023-07-16 14:02:27 +10:00
a3ab20fe4b feat: Rationalise module size handling (#3624)
* Rationalise module size handling

* Compile fix

* DSM2 and DSMP exist only in JR size

* XJT Lite and R9MP require usart

* Fix comment

* Enable no external module choice

* Save some flash

* TProV2 does have a small module

* T20 has a small module

* chore: Define managed by cmake

* fix: X9D+2019 has a JR Micro bay

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-16 11:05:56 +10:00
philmozandGitHub b0e64c8d6d fix(color): Fix inputs and mixes scroll order (#3785)
* Fix scroll order when adding new inputs and mixes.

* Set focus to first input/mix line, if one exists. Otherwise set focus to '+' button.
2023-07-11 10:18:13 +10:00
43db9c8ceb feat(bw): Change layout of telemetry page on B&W radios to match color layout (#3770)
* Improve telemetry sensors view

* Improve telemetry sensors view (212)

* Remove undue TRACES

* COLORLCD compilation fix

* chore: Quit your no EoF newline whining Github!

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-07-07 10:56:34 +10:00
3djcandGitHub 7f669f12d9 feat: Add initial Jumper T20 support (#3726)
* Jumper T20

* Fix center beeps

* Add option to pinch top trim as well to bootloader

* chore: Regenerate yaml

* chore: Add entry for Buddy

* Jumper T20

* Foldable section for fonction swith and fix preflight pot checks

* Remove duplicated entry

* Rename "function switches" to "customizable switches"

* chore: Add translations

* chore: Update translations

* chore: Update Companion translations/wording
2023-07-07 10:44:14 +10:00
philmozandGitHub a81abf1580 chore: Fix build when GVARS=NO (#3769) 2023-07-06 11:08:06 +10:00
philmozandGitHub c8fce341e8 fix(color): Names and number of buttons on Preflight checks screen (#3747)
* Fix preflight checks screen in 2.10.

* Fix unnecessary side scrolling.
2023-07-05 21:29:21 +10:00
3djcandGitHub 0934935cdb fix(b&w): Center beep settings on 212 display not working (#3743) 2023-07-05 21:03:32 +10:00
3djcandGitHub 8f01308ee1 feat: 1khz update rate for joystick / flight simulators (#3759)
* 1khz update rate for F.Sim competitions

* chore: Update comment
2023-07-05 20:15:17 +10:00
MichaelandGitHub d9b953095e fix: Don't override configured SD Logs value when opening edit screen (#3755)
changes:
- set default value only if SF is created
2023-07-04 10:05:19 +10:00
3djcandGitHub 8f0ad3fca8 fix: Allow compile without multimodule support (#3750) 2023-07-03 19:07:02 +10:00
3djcandGitHub 461dcc9fa9 fix(b&w): Missing "Discover new" telemetry line (#3734) 2023-07-01 18:21:33 +10:00
3djcandGitHub 050123b928 feat: Initial support for Jumper TPro V2 (#3718)
* Jumper TPro V2

* Small Fixes

* Small Fixes

* Small Fixes

* fix: ENABLE_SERIAL_PASSTHROUGH enables CLI

* chore: Add missing entry for tprov2

* Cosmetics
2023-07-01 17:25:10 +10:00
3djcandGitHub 8f431eaf01 feat: User configurable audio mute (#3719)
* feat: User configurable audio mute (#3703 port to main)

* chore: Add translations
2023-06-30 12:26:52 +10:00
Jimmy KlarkeandGitHub 1255ff0e01 fix(color): Add missing RX OTA flash for Frsky X10S/X12S (#3687) 2023-06-30 12:15:34 +10:00
3djcandMalte Langermann 973ee9a75f Show only defined entries in diagana 2023-06-27 12:20:43 +02:00
3djc ffbde7487e Fix trim missing in colorlcd diagkeys 2023-06-26 14:11:49 +02:00
raphaelcoefficandMalte Langermann ea27259d84 fix: 6POS read & calibrate 2023-06-25 14:32:39 +02:00
raphaelcoefficandMalte Langermann 6617a5da64 fix: MIXSRC Heli & GVar 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann be78a8829f Display user friendly pot name 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann bff3e653fc Fix Colorlcd navigation 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann 29911c6b23 partial TX16s pgup pgdn key fix 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann ef46f28cf2 Function switches cleanup 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann 4b421a456a Fix trims displays in various scenarios 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann c8ac653b4f Re order pots on 2 lines dispay 2023-06-25 14:32:39 +02:00
3djcandMalte Langermann 3eb0122196 Allow more than 4 trims in 128 FM screen 2023-06-25 14:32:39 +02:00