* replace magic number for throttle idle with correct define
* settings for custom throttle warning position
* settings fixed not to break byte-aligment of bit-fields
* evaluate custom throttle warning position
* add requested throttle value to warning text
* comment about field alignment in ModelData struct
* Menu for editing custom throttle warning for 128x64 radios
Tested on RM TX12
* Improoved menu display
* move displayed strings to translation
* translation template added for each language
* support for 212x64 B&W radios
* menu for colorlcd
not tested
* corrected translation entry for TW
* corrected handling of padding bits in ModelData structure
* Companion support for custom throttle warning position
* Rebase catchup
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* ADC Filter - On/off state configurable at the model level
* Updated YAML configuration to match change from ADC Filter feature commit
* Companion changes to support ADC jitter filter to be a model configuration item.
* Renamed jitterFilter field to noJitterFilter.
This better describes the semantic, which is inverted.
* Updated after review
* Re-run generate-yaml
* Changed ADC Jitter filter control on Model to be tri state.
Off, On or use the radio setting
* Adde NOBACKUP() to the added field
* Re-generate yaml_datastructs
* Making the default state to use radio setting/Global value
* Updated after review:
Changing to more consistent naming across firmware and companion.
* Reverted files that was accidently added to the commit.
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* fix: tpro function switch toggle mode
* feat: Function switches now have alway on option
* Companion support for function switch always on
* Fix nasty eeprom error
* Update fs startup item model
* Fix Tpro SWITCH_EXISTS
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Warn on connected model (#1466)
* Make it so not confirming aborts model change
* add delay before accepting disconnected telemtry
* Add power off delay
* Remove whitespace + time unit in name
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Take 2, without the Mac Companion breakage...
* fixed incorrect use of non-terminated-fixed-string for ctor of std::string
* introduced helper
* removed commented lines
* removed constexpr since in C++11 std::string ctro isn't still constexpr
Co-authored-by: wimalopaan <wilhelm.wm.meier@googlemail.com>
* Show true unscaled and unfiltered analogs for diagnose purpose on the analog diagnose screen.
Tested on physical RM TX16S, not yet tested on B/W targets.
* Changed to decimal display also on B/W targets. Tested now with RM Zorro as well.
* 5 fps refresh rate of the raw analog values. Much nicer to look at.
* Time-changing 3 views for color radios: std., filtered raw with deviation, unfiltered raw.
* Corrected deviation view output to not use old values.
* Changed analogs diagnose page to user navigatable TabsGroup with 3 tabs.
* Added fourth analog diagnose tab to show minimum and maximum values and the range (difference between min and max).
Left touch screen and IMU output tests only on first page (should also move in the future to their respective dedicated pages).
* Use Std. JitterAlpha filtering for Deviation screen to minimize delay, omit filtering for FlySky digital hall gimbals - not necessary, the signal is stable enough.
* 2 analog diagnose pages for 128x64 B/W radios: calibrated analogs and raw values with display output limited to 5 frames-per-second due to visibility reasons.
* Added 2 analogs diagnose pages also for 212x64 display B/W radios.
I was only able to simulate it, not tested on real hardware.
* Support also radios that do not have PageUp/PageDn keys, but only Page key (e.g. X7).
* Better key handling and improved style thx to @pfeerick
* Update radio_ghost_module_config.cpp
* Update board.h
* Update keys_driver.cpp
* Auto-formatting
* Add functions simply so gtests compiles
* Update board.h
define TRIMS_EMULATE_BUTTONS to avoid HW dependent defines in other code
* Update radio_ghost_module_config.cpp
Use TRIMS_EMULATE_BUTTONS rather than PCBNV14
* `simu` code behind build flag also
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
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.
* [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
* 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>
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
Rebase and modify #1263 and resubmit
Added new translations for the popup main menu
Added new translations for theme
Fixed wrong translations
@richardclli Please check