* Reduce size of the YamlNode structure in FLASH storage.
Fix compiler warning.
* Further reduction of FLASH used by YamlNode structures.
* Reduce size of sensor definition arrays and audio tone volumes array.
* SF Audio amplifier mute port to 2.10
* added missing definition STR_SF_DISABLE_AUDIO_AMP
* exclude radios not able to switch audio amp off
* radio/src/storage/yaml/yaml_datastructs_128x64.cpp needs to distinguish between radios with or without switchable audio amps. Expample Zorro vs X9lites
* updated companion and radio language PL
* - added Companion and radio language SE
- removed type unfinished for translated languages
* added radio and companion language JP
* - reverted change to 128x64 yaml_datastructs.h
- moved exclusion of SF DISABLE_AUDIO_AMP based on hw capabilities to UI level
* confused FUNC_ with FUNCTION_
* confused FUNCTION_* with FUNC_*
* Fix handling of blank lines in YAML files.
* Added some basic EOL / blank line unit tests
---------
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type
This should allow to remove some of the hacks added earlier.
* chore: Add some EL18 CI bits
* fix(afhds): cmake defs
* fix(ci): add el18 to commit-tests.sh
* chore(cpn): separate AFHDS2A and AFHDS3
* chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3
* fix(cpn): limit available internal afhds protocols to those supported by hardware
* chore(cpn): update Flysky int module test
* fix(cpn): compile error
* fix(cpn): afhds2a max channels
* fix: TR_MODULE_PROTOCOLS
* enh(cpn): more support for afhds2a and 3
* fix(cpn): rebase compile error
* fix(cpn): bit indexes
* fix(cpn): emi toString
* fix(cpn): limit available internal afhds protocols to those supported by hardware
* enh(cpn): add support for Flysky EL18
* fix(cpn): available protocols
* fix(cpn): rebase moduledata
* chore(cpn): add module fields to model print
* Separate AFHDS2A and AFHDS3 UI settings.
* Fix AFHDS3 conversion from old subtype value.
Fix 'Channel Range' layout on portrait LCD.
* Fix name.
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* initial version of clickable checklist
* do not display checkboxes for empty lines if checklist is shorter than screen size
* remove checklist exit after completing it
cannot exit menu from menuTextView as level above there is while loop that cannot be stopped from thic place in code
* menu entry to enable and disable interactive checklist
* only when complete interactive checklist is closed
* config updated & not display checkboxes when entered from "View Notes"
* add setup entry for colorlcd
* do not make interactive checkist when loaded from menu
* fix datastruct size after merge
* Companion support for interactive checklist
* mark checklist lines as non-checkable with '=' for B&W radios
* Process only items visible on screen
This is also crucial when it comes to analyse non-checkable items on a checklist, as in this way there is no need to load non-visible items from SD-card
* WIP fix merge problems
* update yaml datastructs
* restore most functionalities for interactive check lists on color LCD radios
currently no automatic line wrapping and you can always exit the checklist, even when it is not fully done
* finalise interactive checklists for color LCD
* fix: rebase/merge issues
* fix: model setup checklist section
* fix: fix 212 model setup
* Re-work of the some of the color lcd checklist code (#3787)
* Move checklist logic to sub-class.
Show model name instead of file name in title, show 'Preflight checks' in title2 for checklist.
Handle long line wrapping of text.
Don't indent lines without checkbox.
Add 'RTN' button when done.
* Code cleanup.
* Simplify code by storing a list of checkboxes instead of scanning LVGL object hierarchy.
* Indent checkboxes to make touch activation easier.
Keep 'RTN' button visible so last checkbox is further from bottom of screen (for touch activation).
'RTN' button is disabled until checklist complete.
* Add checkbox class constructor for preflight checks.
* Fix checkbox size.
---------
Co-authored-by: Piotr Rzeszut <piotrrze@gmail.com>
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: philmoz <philmoz@users.noreply.github.com>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* feature request #1635
- added MIN (-MAX -> -1024) as source
* fix rebase
* fix rebase
* change to use language strings for MIN/MAX instead of instance
updated CN and TX language file for MINuse -RESX for MIN instead of magi numbercode cleanup
* updated test sources
* updated JP language
* JP language: changed translation text
* updated HE language translations
* fix: YAML timer handling
* chore: improve YAML set timer handling
* chore: improve timer handling
* feat: only offer defined timer for set and reset functions
* feat: only offer defined timer for set and reset functions (bw)
* chore: cosmetics
* 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.
* 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>
* 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