* feat(cpn): User configurable audio mute in radio settings (#3710)
* CPN: user configurable audio mute in radio settings. Supports PR #3703
* make checkbox only visible for radios with AUDIO_MUTE_GPIO pin:
- All color lcd radios (including NV14) except Horus X12S
- TX12, TX12MK2, ZORRO, BOXER, T8, TLITE, TPRO, LR3PRO, COMMANDO8
* chore: Add Companion translations
---------
Co-authored-by: Michael <mha1@users.noreply.github.com>
* Add external module to hardware settings
* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData
* Remove externalaccessmod from radio profile options
* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.
---------
Co-authored-by: rotorman <risto.koiva@web.de>
* Added OneBit option also to color radios
* Try to work around GH repo owner issue
Original by @raphaelcoeffic in https://github.com/EdgeTX/edgetx/commit/bf4b5d8c0c1e386d5a4852a80d459540bab98ed3
* Add Companion support for radios with external module
* Companion housekeeping - do not display unnecessary hardware section headings
* fix: Rebase cleanup
* fix: LVGL changes
* feat: Move sample mode to a new Ext RF block
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Do not list OFF on VCP menu if internal RF module is set to CRSF to allow pass-through flashing.
Set USB-VCP automatically to CLI when CRSF mode is selected for internal module and it was previously OFF. Activate CLI when iCRSF is selected.
* Companion part
Co-authored-by: elecpower <neilh713@tpg.com.au>
Imported from open-flysky/Flysky-OpenTX-Test-Branch
* companion: Don't nuke `stickDeadZone` setting
* Implement data storage properly
* Add missing check for NV14 storage struct sizes
* Formatting
* Use one less byte in the packed data struct
Thanks @raphaelcoeffic :)
* Move setting of stickDeadZone default
* Use a Choice combo rather than NumberEdit
* Good riddance magic number
* Also set default stick zone if setting is missing
* Teach tests about `STICK_DEAD_ZONE`
* Tweak choice width
* Cpn NV14 add stick dead zone to hardware and section labels
* Cpn NV14 align default pot names to radio
Co-authored-by: elecpower <neilh713@tpg.com.au>
* ADC Filter - On/off state configurable at the model level
* Updated YAML configuration to match change from ADC Filter feature commit
* Companion changes to support ADC jitter filter to be a model configuration item.
* Renamed jitterFilter field to noJitterFilter.
This better describes the semantic, which is inverted.
* Updated after review
* Re-run generate-yaml
* Changed ADC Jitter filter control on Model to be tri state.
Off, On or use the radio setting
* Adde NOBACKUP() to the added field
* Re-generate yaml_datastructs
* Making the default state to use radio setting/Global value
* Updated after review:
Changing to more consistent naming across firmware and companion.
* Reverted files that was accidently added to the commit.
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Add ability to undo hardware internal module change
* Add internal module protocol check on model edit
* Event driven check and update of all models
* Fix model edit dialog searches
* Add OFF to list of internal modules
* Fix internal module protocol list issue #1382
* TX16S initial push - Radio booting, navigation keys ok
* TX16S libsimu
* Please Travis
* Do not start radio on charger power
* USB charger led handling
* Revert "USB charger led handling" until we have proper details
* Pseudo sport power pin
* Please Travis
* tx16s serial debug
* Add tx16s calibration picture
* Review anadir for tx16s, needs to be checked on more radios
* Dump raw multi telem on AUX port
* More work on TX16S
* Fixes
* Compilation fix
* Compilation fix
* Fix Aux Serial power
* Various improvement
* USB charger led handling
* Cosmetics
* Cosmetics
* USB charger led handling
* Add charge indicator on GUI
* [Companion] Radio -> General Settings -> Hardware: Hide external serial port option for Horus; Fix battery voltage and current calibration changes not registering (wrong signal handler name); Prevent modified() event if edited value wasn't actually changed (this is a problem in all panels with onEditingFinished() signals); Fix some cosmetic layout issues when no hardware names are editable.
* [HardwarePanel] Minor layout fix for BT option.
* [HardwarePanel] Fix comparison issue.
* [Companion] Move RadioData constructor.
* [Companion] Move getCapability(SwitchPositions) to Boards class.
* [Companion] Show custom channel, g-var, & curve names throughout UI; Remove redundant name formatting and other unused functions in ModelPrinter and Helpers; Add CustomFunctionData::isEmpty().
* [Companion] Add LogicalSwitchData::isEmpty().
* [Companion] Fix small bug in HardwarePanel.
* [Companion] Rename logical switches to "LSw##" in selections lists to avoid confusion with "L#" and "LS" hardware controls; remove unused RotaryEncoderString().