- fix Companion yaml model read and write
- B&W radios treat bit values the same as color to avoid unnecessary complication for Companion and radio conversions
- B&W radios default is therefore off for all pots and sliders
- B&W radios fix runtime warnings check
- all radios fix to save last pot or slider position when checked and mode AUTO on change of model or power off
- all radios do not display Pots Warning in model setup if no pots or sliders supported
* 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>
- Allows the radio main application to start correctly when coming from an app in RAM
- Refactoring of the `UNEXPECTED_SHUTDOWN()` process
- Saves the RTC battery as BACKUP RAM is not needed on normal shutdown
- On PWR OFF on an ALERT, the radio won't show the next alert before shutting down
- Bootloader flashable through the SD Manager
* Implement model note view without menu handler. Use it before pulse starts
* Also at model change. Handle wd reset and start pulses after mixer
* Fix Horus compile
* Fix Horus crash
* Fix coding style issue
* Remove most of the special logic associated with RF_PROTO_OFF
This simplifies code in many areas since the internal module does not require special handling and also fixes a few bugs with INTERNAL_PPM
* Disable R9M sport option if internal module has telemetry
* Fix X12s build
* Use macros instead of direct comparisions
* Fix sport bit sent the wrong way. Rename S.port out to Telemetry
* Compile fix
* Rename EXT option to TELEMETRY
* Change test accordingly
* Rename FRSKY to TELEMETRY_FRSKY
* Rename ARDUPILOT to TELEMETRY_ARDUPILOT
* More renames (JETI, MAVLINK, NMEA)
* Fixes to make commit-test happy
* Further tests added to commit-test
* Cleanup
* Rename EXTSTD to TELEMETRY_NONE