Uses MSP_NAME/MSP_SET_NAME to get and set it. A new section was
added to the Configuration tab which includes an input for the name.
Also, some CSS changes to allow wider fields for string inputs.
Add support for alarms that require unit conversion and non-integer
steps.
Implement support for the aforementioned alarms by using unit
conversion to display them in more convenient units when the OSD
is set to display imperial units.
Define an array of the available alarms. Display just the ones
understood by the FC.
Move alarm names and their help (if any) to the translatable
messages.
I believe everything works and is OK, but I am unclear about MSP/FC/Configurator versioning, so some of what I've done here may not be correct, or may need to be done differently. I would appreciate guidance/explanation.
Name RX_PARALLEL_PWM was confusing, so it's been renamed to
just RX_PWM.
Values for RX_PWM and RX_PPM were swapper, they're now the correct
ones.
Set the order of the rx types as serial, ppm, pwm, spi, msp and none.
Allow versions using the feature bits to select RX_NONE by clearing
all relevant bits in the features.
Implement a combobox selector for the receiver type, showing
just the options for the specific type (e.g. selecting serial
receiver reveals the combobox for the serial protocol).
On INAV > 1.7.3 read and write receiver type to RX_CONFIG rather
than to feature bits. Note that this will break the configurator
in builds with version = 1.7.4 before https://github.com/iNavFlight/inav/pull/1596/files
is applied.
Shows actual THR from the navigation system when it's controlling
THR, stick input otherwise (like the normal THR indicator).
INAV counterpart submitted as
https://github.com/iNavFlight/inav/pull/2217
Implement groups which can be declared in any order including
any item in the order deemed more useful. This way we no longer
need to put elements ordered by their osd_items_e value.
Also, elements and even groups can be disabled when the features
or hardware required for drawing them is not present or not
enabled.
- Support OSD_ONTIME_FLYTIME and OSD_RTC_TIME
- Add support for OSD elements with localized names
- Add support for displaying some help besides an OSD element