Commit Graph
19681 Commits
Author SHA1 Message Date
Neil HorneandGitHub 64f4968e89 fix(cpn): Model and labels lists sync (#3967)
* labels use proxy model mapping to source

* cosmetics

* Fix model list focus

* fix model focus on change to labels
2023-08-26 20:06:10 +10:00
543171884a chore(cpn): Update branding (#3817)
* chore(cpn): change logo source url

* chore(cpn): replace image files

* chore(cpn): use mhotar images

* chore: Generate icons

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-08-26 19:53:11 +10:00
Preston GuilloryandGitHub d8cfa671e5 fix(lua): Include scale in getInput and insertInput (#3772)
* Include scale in getInput and insertInput

When using telemetry as an input, the scale field is used to convert from a
value with units (like volts or meters) to a percentage. I'd like to modify an
input's scale via Lua script. However this field does not seem to be supported
by the Lua API. This seems like an oversight, so I added it.

* chore: Add scale luadoc
2023-08-26 19:52:22 +10:00
4f20672799 Fix the problem of V0 receiver setting ibus and sbus (#3940)
Co-authored-by: Xy201207 <yaoxu@flysky.com>
2023-08-24 10:22:13 +08:00
RistoandGitHub 4b90e8b001 feat(color): Updated to new Eddie the Edgehog splash (#3852)
* feat(logo): updated 480x272 pixel screen splash to use new EdgeTX logo & mascot
2023-08-20 11:44:57 +02:00
Ulf HedlundandGitHub 2f3c104327 chore(cpn): Updated SE translations (#3878)
* Translation for PR #1425

* Minor update

* Updates - including theme text translations

* Update se.h

* Proper translations for CZ,DA,DE,FR,HE,IT,JP,PL

Added translations from translators for 8 languages

* Updated translations for new PRs

Updates for new commits c805940, 2b100e0, a2d845d and c4e221f

* New translations added

* Possible minor changes

* First update for 2.10

* One minor change

* One error fixed

* Additional translations up until PR #3726

* Translations up until PR #3726

* Minute change for one string

* Updates for recent PRs

* Updates for new strings

* Minor changes

* Update companion_sv.ts

Minor change in About EdgeTX
2023-08-16 10:15:56 +10:00
50bbea48bd fix(cpn): Radio settings yaml for adc refactor (#3862)
* Remove commented lines

* Restrict calibration to sticks, pots and sliders

* Fix pots and sliders config to support pre and post adc refactor

* fix: pfeerick sucks at rebases

* chore: Add more bits missed during rebase

* chore(cpn): use adc version constant

* fix(cpn): calibration encode mapping

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-08-16 10:11:31 +10:00
3djcandGitHub 1177891750 fix: simu sd detection (#3936) 2023-08-15 10:19:21 +10:00
Neil HorneandGitHub b8300c7f8a fix(cpn): TX12 MKII and Zorro sims key mapping (#3938) 2023-08-15 10:18:49 +10:00
3djcandPeter Feerick d2c2fd6426 fix: EM when LUA script is running and radio is turned off (#3926)
* fix: EM when LUA script is running and radio is turned off

* Improve sequencing
2023-08-15 10:18:01 +10:00
Neil HorneandGitHub 343ea0660f feat(cpn): Clear clipboard on profile change (#3929)
... preventing pasting incompatible models after profile change
2023-08-14 12:40:38 +10:00
3djcandGitHub 58ee2f282d fix: Add missing RTN keys to some simu (#3933) 2023-08-14 12:31:33 +10:00
3djcandGitHub c2d8291e49 feat: Add support for RadioMaster Pocket (#3892)
* RM Pocket support

* Further Pocket changes

* Production readiness

* chore: Consistent formatting

* chore: `ENABLE_SERIAL_PASSTHROUGH` enables `CLI`

* chore: Add to Buddy

* fix: merge wtf
2023-08-14 12:10:22 +10:00
3djcandGitHub 4924500ea7 fix(simulator): TPRO menu key not working (#3921) 2023-08-14 11:29:13 +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 f1968f9857 fix: QX7 PCBREV detection (#3922)
Summary of changes:
- PCBREV detection for X7 was disabled as part of early 2.10 work
- It leads to SPORT port not been available on X7
- Once enable, option is back, tested flashing a receiver ok
2023-08-10 15:48:37 +02:00
raphaelcoeffic c089777bd0 fix(boxer): module size 2023-08-10 15:46:21 +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
3djcandGitHub f2aade0635 fix: logs not matching user stick mode (#3916) 2023-08-08 17:58:03 +10:00
Peter FeerickandGitHub 6acd9faa64 chore(github): Add 2.8.5 to version picker 2023-08-08 16:21:31 +10:00
Raphael CoefficandGitHub e99980f1bf fix(x12s): init periph clocks in ads79xx driver (#3810) 2023-08-08 10:07:07 +10:00
Raphael CoefficandGitHub 017ac82d59 fix: race condition on mixer task handle (#3914)
PR #3451 moved the start of the mixer task to a point in time where the task scheduler is already started (UI task). Before that change, the mixer task would be created before and effectively started after the task scheduler started.

This introduces a race condition on `mixerTaskId.rtos_handle`, as the mixer scheduler might trigger before `xTaskCreateStatic()` returns and the task handle is assigned.

This PR fixes the issue by delaying the start of the mixer scheduler until `xTaskCreateStatic()` returned and the task handler has been properly assigned.
2023-08-07 13:34:38 +02: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
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