Commit Graph
8 Commits
Author SHA1 Message Date
50bbea48bd fix(cpn): Radio settings yaml for adc refactor (#3862)
* Remove commented lines

* Restrict calibration to sticks, pots and sliders

* Fix pots and sliders config to support pre and post adc refactor

* fix: pfeerick sucks at rebases

* chore: Add more bits missed during rebase

* chore(cpn): use adc version constant

* fix(cpn): calibration encode mapping

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-08-16 10:11:31 +10:00
philmozandGitHub 2133d42bd2 fix(cpn): Size of the YamlStickConfig struct was set wrong (#2891)
The YamlStickConfig definition was defined and sized with CPN_MAX_SWITCHES (32) instead of CPN_MAX_STICKS (4).
When loading radio.yml this would overwrite 112 bytes past the end of the stickName array in the GeneralSettings class.
2022-12-20 08:59:55 +10:00
Raphael Coeffic 2ccbb7f343 Fixed switch, pot & sliders config 2021-12-31 10:53:11 +01:00
Raphael Coeffic 56997f4d3c Use definitions in Boards for pots/sliders config 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 23c84633da Companion support for EXT3 EXT4 and FlySky gimbals 2021-12-31 10:53:10 +01:00
Raphael Coeffic 763964193e Small fixes 2021-12-31 10:53:09 +01:00
Raphael Coeffic 8a10ffa43d Output knobs config 2021-12-31 10:53:09 +01:00
Raphael Coeffic 9dd8917ab4 Add stick, switch, pots & slider config 2021-12-31 10:53:09 +01:00