* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.
* fix: Add missing "Input" check for B&W radios
* fix(cpn): Trainer mode default is off
* chore(cpn): If trainer mode off, hide TR/PPM srcs
* (cpn) Refresh all source lists on change of trainer mode
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Dannish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* chore: Reset header to `copyright-header` template
`tools/copyright-header.txt` template is what should be used.
Also added line at EoF to make git happy
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* First build
* Fix X9
* Update api_general.cpp
* Update translations.h
* clean up translations
* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu
* chore: yaml regen
* fix: Add missing guards for X9D/X9D+
* fix: Wrong enum name in simu
* fix(cpn): Use correct names for UI elements
* fix: Translations
* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.
* fix: Companion string, change colorlcd to `Choice`
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>
* fix: SE and SF could not be set 3POS
*Somebody* (me) forgot ternary operator only compares two value in #1303
* fix: TX12 default contrast is too high
There is no 'perfect' value due to manufacturing variance, but 25 is simply too high,
and 15 a bit too low.
* 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>
* [colorlcd] Ensure active internalModule is reset if different to radio level setting
* [B&W] Ensure active internalModule is reset if different to radio level setting
* storageDirty only when model setting cleared
* [b&w] Remove reusablebuffer, code re-order
* [colorlcd] More direct moduleType comparision
Consistent with B&W test
* Fixed support for Radiomaster TX12 additional switches (SI and SJ)
Two connectors are present on TX12 main board (near top of internal TX module) and are mapped as SI and SJ, but were not read out by the firmware.
With this update they might be used for some further hacking of the radio (ex. adding additional 2-pos switches, adding detector of external module insertion etc.).
* Radiomaster TX12 - preventing selection of Si and SJ as 3POS
* Radiomaster TX12 - corrected SI and SJ switch names in Keys Debug screen
Switches were displayed in test screen as SG and SH, due to fact that firmware did not take into account no presence of SG and SH in TX12.
The update provides correct and consistent naming of the additional switches across whole radio.
* Alignment tweak + fix rot_enc info overlap
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>