* fixes#3509
Changes:
- change to order of include files
- remove unnecessary include
* revert deletion of include, some radios seem to use it.
* exclude code for CONFIGURABLE_MODULE_PORT for target bootloader
* Reduce RAM usage for advanced joystick system on radio:
- Don't allocate memory blocks unless joystick mode is being used.
Support multiple radio joystick configurations in Companion:
- Save configured joystick settings by joystick name in Companion settings.
- Save last joystick name used in each profile.
- Reload joystick settings by name when profile is changed.
* Only show configuration for used axes and buttons in Companion.
Send actual number of configured joystick buttons from radio in USB packet.
* Fix issue where USB joystick not recognised if no buttons configured.
* Fix compiler warnings.
* Remove debugging.
* Fix crash in Companion.
* Change channel 8 to type 'dial', workaround for Linux mapping issue.
---------
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* Fix the bug that some sensor values are displayed incorrectly
* Fix typos
* Fixed some units problem.
* Unit of SNR should be db and not dbm.
* Fixed Alt scaling in NV14.
* Fixed the temperature and voltage error of the FRM303 module.
* Fixed temperature data error.
---------
Co-authored-by: Richard Li <richard.li@ces.hk>
* restore bit start detection IRQ for soft serial
* restore bit start detection IRQ for softserial (target Taranis and Horus)
* target Taranis: EXTI9_5 is a shared interrupt for Rotary Encoder and Heartbeat for X7, X7-ACCESS und TPRO radios. Changed IRQ priority accordingly
* fix crashes where the heartbeat ISR running at interrupt priorities higher than 5 interferes with FreeRTOS calls made from within the heartbeat ISR.
* changed mixer scheduler timer initialization to allow for software generated update events to avoid freeRTOS calls from now prio 0 heartbeat ISR.
* resolved review feedback: using defines for IRQ prio settings
* following review by @raphaelcoeffic:
- new function void mixerSchedulerSoftTrigger() (to be called by heartbeat driver)
- defines in hal.h for targets horus and taranis
* following @raphaelcoeffics review
- changed all but telemetry EXIT IRQ (soft serial) definition back to their original state and added define to override EXIT IRQ (soft serial) prio
* Fix scroll order for module options when 'FlySky' module type selected.
Fix simulator crash issues related to FlySky module.
* Fix more simulator crashes
* Add 'Show Instance ID' button to telemetry page to show/hide sensor instance number (default is hidden).
Fix issues with page refresh when all sensors deleted.
Select closest sensor when a single sensor is deleted.
On change, only refresh the sensor list instead of the whole page.
The 'showInstanceIds' property is saved to the model file.
Update Companion to save/load 'showInstanceIds' in model YAML file. Add checkbox to telemetry edit page.
* Update all radio specific files.
* Keep focus on 'Discover/Stop' button when searching for new sensors.
Start sensor ID index at 1 to match B&W radios.
Keep focus on changed parameter when editing sensor, don't rebuild entire parameter list on change.
* Display actual 'instance' ID instead of 'instance' + 1.
* Fix incorrect ID when reloading simulator data.
* Fix incorrect ID when reloading simulator data on B&W radios.
* Rework the rotary encoder acceleration calculation, and remove double handling of acceleration.
* Reduce the acceleration sensitivity.
* Set the 'rotencSpeed' variable for the Lua getRotEntSpeed function().
* Fix configurable external module port
* Added FRM303 support for TX16S via AUX1 mod, i.e. direct connect AUX1 TX/RX to PPM/Heartbeat pins.
---------
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
* Fix the BUG of V0 receiver setting IBUS SBUS; add the setting item of INRM301.
* Fix check failure; remove some unused characters.
* Fix typos and rename variables as well as fix compilation errors.
* add language
* Add layout 4+2B right side 3QRT+1QRT
* Fix Layout 4+2B LayoutId, length max 9 char
* Maybe this will work?
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Add support for the '1x' repeat option for 'Play Script' special functions.
* Add Companion and B&W radio support.
* Fix B&W radio logic and layout.
* Add translation hooks.
* Show the 'Press any key to skip' message on alerts that currently have no message.
* Show action button on storage format warning also
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Change ThemeFile class to use generic YAML parser instead of hard wired code.
Fix handling of empty input lines in YAML parser.
Increase size of YAML parser variables to handle theme 'info' property length.
* Update comment.
* Fix error.
* Proper fix for blank lines in YAML file.
* Fix YAML blank line handling (attempt 3).
* Ensure theme YAML file is backward compatible.
* Store selected theme in radio settings instead of selectedtheme.txt file.
On start, if radio settings theme is empty, try and load from selectedtheme.txt file.
In Companion, save/load the selected theme in the radio settings YAML file; but no UI to select theme.
* Update selected theme name in radio.yml if the theme name was edited.
* Only save 'selectedTheme' in Companion on color LCD radios.
empty for anonymous structures but contains a descriptive
string in brackets. Resolves the build error "Cannot handle
non anonymous unions" from this script.