`getfieldInfo` can now also take a source index as argument. Plus it was modified to also handle "telem1+" etc.
New functions `getSourceIndex(sourceName)` and `getSourceName(sourceIndex)` were added, which use the names shown on the
screen instead of the special names table used by `getFieldInfo` and `getValue`.
Indices are the same for all of the functions, so `getValue(sourceIndex)` also works with indices from `getSourceIndex`.
New iterator functions `sources([first[, last]])` and `switches([first[, last]])` for getting ranges of sources and switches.
`getPhysicalSwitches` was removed, as I consider the iterator function to be a better solution.
* [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
* Easier inversion code.
* Evaluate define INVERTED_ROTARY_ENCODER instead.
* Make Zorro roller direction more natural and matching also TX16S navigation style.
* 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>
This is the case for curves inside mixes, which would previously prevent outputting all attributes following the `curve` attribute: `delayUp`, `delayDown`, `speedUp`, `speedDown` and `name`.
* Resolve a problem in font generation when y_offset is negative.
* Change to use full dynamic detection of special chars, generalized for all languages including cjk.
* Isolated colorlcd and bwlcd translation encoding method.
* Fixed the cz char mapping.
* Only cz requires subset lowercase handling.
show LCD controller type on NV14 radio version screen
fix ST7796S LCD controller detection
fix ST7796S driven displays to show correct colors
fix NV14 lcd_driver.cpp compiler warning