* added setCustomFailsafe()
* failsafe setup: set all custom channels with ENTER long press
implements #5820
* added “outputs -> failsafe” menu item on horus
* change “Trims >> Subtrims” to “Trims => Subtrims”
* use translated string for “Outputs => Failsafe”
* fixed entered TR_TRIMS2OFFSETS and TR_OUTPUTS2FAILSAFE
When using ZCHARs in Horus texts, there are some artefacts when highlighted.
* added “outputs -> failsafe” menu item on taranis 212x64 LCD
* added “outputs -> failsafe” menu item on taranis 128x64 LCD
* fixed indentation
* - Match X9 behavior
- Made to handle replacing SH by a two pos and the future two additional switches
- Use string tables to find switch standard designation
* Compile fix
* Save 128 byte by moving variable to stack
* Make usb mass storage buffer smaller on F2 processors and put into reuseablebuffer
- Lower USB mass storage buffer to 512 bytes per default on F2
targets, makes usb speed slightly slower ~600 kB/s instead ~700 KB/s
in my tests, saving 3584 bytes
- Save another ~300 bytes by putting that buffer into reusableBuffer
* Don't put id into reusuableBuffer
All uses of id can be on the stack as well. Makes no difference for ram usage but makes it safer to reuse reusableBuffer
* Only link cdc serial when needed
We always linked usb cdc even in non debug builds. CDC uses about ~600 byte of RAM for its buffers and structures.
* [firmware][ARM] Adjust some value limits for mix sources and update editing UI for LSs, CFs, & telem. bars:
* Increase timer limits to +/-8:59:59 when used with LSs, CFs, & bars;
* Increase Lua script output limits to +/-30K;
* Trim limits based on extended limit model setting;
* Limit TX voltage to 25.5;
* Limit TX time comparison value to 29:59m;
* Use proper GVar limits (user-configured), display precision, & unit in LSs & telem. bars;
* Display timer values properly with hours (instead of mmm:ss).
* [firmware] getTimerString() would fail with times >= 100min if hours weren't shown.
* Fix builds w/out GVars.
* Switch backlight on when displaying a warning.
This is especially visible on the power off RSSI warning. This will also show the other warnings at start with backlight, even when blocklight is set to always off. But my X9D+ will switch its backlight on after boot once even with backlight on, so backlight=off is not so off as it seems.
* Rework power rssi code a bit
- Cleanup shutdown_confirm code
- allow x9d+ to be compiled as power button too to be able to test these things on the x9d+
- Fix shutoff after 10s in warning dialog on x9d
- Make warning dialog always turn on backlight
* Revert CMakeLists.txt