Commit Graph
19657 Commits
Author SHA1 Message Date
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
philmozandGitHub 659a25a6cd fix: Fix 'PAGE <' key not working for menu toolbar (#3902) 2023-08-04 21:59:05 +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
Peter FeerickandGitHub f110bda8e3 fix(AFHDS3): Typo from #3793 2023-08-04 16:14:20 +10:00
richardclliandGitHub c2c9c5a757 fix: Some AFHDS2A/AFHDS3 GPS/ALT telemetry handling issues (#3582)
* Fix widgets vs. sensors (TX16s/FS-IA6B FW2.8.3) and updated meaningful units.

* Updated the GPS sensors to degree unit.

* Fixed a bug in AFHDS2 Alt decoding.

* Fixed a typo.

* Update GPS sensors format.

* Change Long/Lat unit to RAW.
2023-08-04 15:30:10 +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
Raphael CoefficandGitHub c0df9e9c44 fix: only SHIFT should not trigger repeated events (#3896)
When pressed continously
2023-08-03 20:49:20 +10:00
77ada79b8d chore(translation): Update FR (#3816)
* Update fr.h

* feat: FR translation

---------

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-08-03 20:48:46 +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
c6503a77c7 fix(AFHDS3): iBus IN and Failsafe settings not updating (#3793)
* Fixed failsafe function and sync output of V0 version

* Make the code more readable.

Co-authored-by: Xy201207 <yaoxu@flysky.com>
2023-08-03 14:15:51 +10:00
zyrenandGitHub 79461226a1 fix(tx16): Reduce likehood of TX16s seeming being unresponsive on startup (#3655)
Reduce the number of retries of SD_MAX_VOLT_TRIAL to solve the problem that the card owner cannot enter the system during the boot process of TX16S.
2023-08-03 12:43:47 +10:00
3djcandGitHub f68d21935f fix: FR translation for timer mode (#3879) 2023-07-31 11:24:36 +10:00
3djcandGitHub 159db764e0 fix(bw): Remaining/elapsed display on BW telem topbar (#3871) 2023-07-31 11:21:57 +10:00
richardclliandGitHub ad05ff9fa3 feat: Flysky gimbal support for T20 (#3854) 2023-07-31 10:17:20 +10:00
philmozandGitHub c2ced5a04f chore: Remove duplicate TR_SF_TEST entries from translation files (#3884) 2023-07-31 10:06:07 +10:00
Raphael CoefficandGitHub 1912697616 fix: Throttle invert and gimbal dead zone (#3864) 2023-07-30 21:37:21 +10:00
raphaelcoeffic 032d581821 fix: scan all keys 2023-07-30 07:37:11 +02: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
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
zandorspandGitHub ca025e849f chore(translation): Portuguese updates 🇵🇹 (#3796)
* Revisions

* rev

* Futher revision

* ops

* rev

* rev
2023-07-30 10:36:15 +10:00
Peter FeerickandGitHub cdaf68e0ed feat(128): Swap modelname for timer1 if defined (#3856) 2023-07-28 21:33:37 +10:00
philmozandGitHub 07e9f2384e fix(bw): Font related fixes for B&W radios (#3832)
* Add missing chars to SQT5 extra font image. Fixes language translation issues if using SQT5 font.

* Fix speaker symbol display for CZ translations.
2023-07-28 20:48:47 +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
3djcandGitHub 943d13ebb4 feat: Default audio mute on for RM radios (#3868) 2023-07-28 19:35:49 +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
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
2f253d9139 fix(cpn): Pot and slider post ADC refactor fixes (#3731)
* Semantic version housekeeping

* Fix pots and sliders center beep and warnings yaml for adc refactor

* Fix sliders and pots mapping

* Fix 6POS libsimu

* Fix trims

* Updated 6POS calculation thanks to philmoz

* Fix version adc implemented

---------

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-07-27 14:23:15 +10:00
philevilleandGitHub 7cd9577528 Update README.md 2023-07-26 12:24:44 +02:00
philevilleandGitHub 6b4efeaaba Update README.md 2023-07-26 12:12:25 +02:00
Raphael CoefficandGitHub 51b4341e82 fix(el18): Switch ADC channel and direction (#3779) 2023-07-25 16:06:56 +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
3djcandGitHub 0cefb7089a fix: revert Zorro default contrast, apply contrast as soon as read (#3831)
* fix: revert Zorro default contrast

* fix: set contrast as soon as radio data is read
2023-07-23 11:10:20 +10:00
d955685e1c fix(cpn): add missing module types to module size lists (#3839)
* fix(cpn): add missing module types module size lists, X9D+2019 module size

* fix: X9D+2019 is STD size

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-23 10:56:06 +10:00
Peter Feerick 2ab21da866 chore(github): Revert logo until transistion ready 2023-07-19 11:34:18 +10:00
philmozandGitHub 7247906902 chore(build): Add missing source for bootloader debug build (#3826) 2023-07-19 11:27:41 +10:00
Neil HorneandGitHub 40d48e991d feat(cpn): warn if radio settings version not supported (#3766)
* Add semver checking to radio.yml

* Rename radio settings variable to allow comparison to model settings version
2023-07-19 11:23:27 +10:00
Neil HorneandGitHub 3a8a86a88f chore(cpn): Disable backup and restore for all radios (#3824)
completely broken with the move to yaml for B&W radios
2023-07-19 11:18:59 +10:00
Neil HorneandGitHub 9fada5c09d fix(cpn): Reduce curve name length to match firmware (#3825) 2023-07-19 10:50:30 +10:00
philmozandGitHub 27c622b5e8 fix(color): Crash in MPM settings from PR #3637 (#3819) 2023-07-18 11:27:55 +10:00
RistoandGitHub 2b43cd81db fix(doc): fixed broken logo link, changed to new logo 2023-07-17 17:55:28 +02: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
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