New Zorro revision uses internally 3.3V VREG and requires this change to properly sense the battery voltage. Tested on latest revision of physical Zorro.
Changed code to allow one column display of outputs already with a width of 100. This fixes the initally reported problem
Reason: On the Nirvana the screen width is 320 pixels. Thus the widget width is less than 150 pixels, if you select a two column out layout.
The rendering of the outputs looks good with a width of 100px, so there is no need for the "150" - we can start displaying from 100. Should make no difference to the radios with width 480px.
* always have aat least a 5s backlight timeout and some backlight enabled when backlightshould be on on color lcd radios
* for backlight timeout to be at least 5s on color lcd radios under all circumstances
* fix indentation
* the backlight value is inverted on color lcd radios, so the calculation was wrong
* fix typos
* Stuck key test for COLORLCD #1271
* always start with the first button, no matter what this button is.
* Add LED error
* Move LED_ERROR_END to ensure runs after dlg close
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
`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.