Commit Graph
37 Commits
Author SHA1 Message Date
Peter FeerickandGitHub ca459bb91c chore: replace all instances of outdated header (#5336) 2024-07-29 09:35:40 +10:00
80659c3e3f feat: add inverted sources (#4722)
Co-authored-by: elecpower <neilh713@tpg.com.au>
2024-05-25 09:25:15 +10:00
Neil HorneandGitHub 55944ab92d fix(cpn): correctly map T-Pro customizable switches (#4902) 2024-04-25 11:21:55 +10:00
Neil HorneandGitHub 1b73d7530d fixcpn): use model semver over radio semver for decoding model sources and switches (#4768) 2024-03-24 11:39:24 +10:00
Neil HorneandGitHub 83294613f6 refactor(cpn): Support JSON radio hardware definitions (#4406) 2024-02-04 15:59:04 +10:00
Neil HorneandGitHub e8d555da11 chore(cpn): Fix Ubuntu compiler warnings (#4257) 2023-10-28 20:02:38 +10:00
3djcandGitHub ecd4a437f2 feat(cpn): TProV2 support (#4206) 2023-10-19 10:44:09 +10:00
d396b38e8b feat: Add trainer virtual switch (#3937)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-16 08:41:40 +10:00
philmozandGitHub 7dc2f89917 fix(ui,cpn): Error in value conversion when loading LS data (#3026)
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).

* Remove debug print.

* Fix handling of telemetry sensors in Companion.
2023-01-17 14:35:13 +10:00
Neil HorneandGitHub c4904be508 fix: cpn - Yaml rawswitch decode fix and housekeeping (#1801)
Whereby some SF and GF "switches" were not being read by Companion
2022-04-05 15:07:05 +10:00
ab15a5a514 chore: Companion - port of OpenTX function switches management (#1694)
* TPro - Port of OpenTX function switches management (https://github.com/opentx/opentx/pull/8847)

* cleanup

* Corrections

* Fix YAML generation and adjusted switches to match TPRO firmware

Co-authored-by: Batam <batam@macbook-pro.home>
2022-03-21 10:43:27 +10:00
Neil HorneandGitHub 87a3d2f9e7 fix: Companion decode of Act and Telemetry switches (#1708) 2022-03-20 19:18:30 +10:00
Raphael Coeffic b8553928ed Fix trim switch index 2022-01-16 10:49:23 +01:00
Raphael Coeffic 1c8639baea Fix raw switch index checks (#1403)
Resolves #1403
2022-01-10 12:51:41 +01:00
Raphael CoefficandGitHub 2a509187dd Fix 6POS switch (de-)serialization (#1367) 2022-01-08 08:57:41 +10:00
Raphael Coeffic 85a184f15e Catch all exceptions thrown by std::stoi() 2022-01-01 13:51:20 +01:00
Raphael Coeffic a90d89ece6 Remove escaping in negated switches (yaml-cpp does not seem to do it) 2021-12-31 10:53:11 +01:00
Raphael Coeffic af00d03640 Fixed special switches and play value, volume & backlight custom functions 2021-12-31 10:53:11 +01:00
Raphael Coeffic 64287e5654 Fixed flight modes' and logical switches' indexes 2021-12-31 10:53:11 +01:00
Raphael Coeffic 26ecb10288 Fixed switches index 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 44146f1e4f Fix decode rawswitch and more encode bools 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 71b254924e RawSwitch timer mode appears to be depreciated 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic b20316e0d5 Switch type timer mode TODO 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 924942ca0d Move switch types lookup to rawswitch and firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 1c7bece090 Use Boards for trim switches 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 609604d141 Fix rawswitch decode 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic e99e890cb4 Cosmetics 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 8228dd6b03 Add range checks to switches 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 8383ee5363 Use Boards for multiposcnt 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 703bc20c6e Use definitions in Boards for switches 2021-12-31 10:53:10 +01:00
Raphael Coeffic 56997f4d3c Use definitions in Boards for pots/sliders config 2021-12-31 10:53:10 +01:00
Raphael Coeffic 7fc4963759 Some fixes 2021-12-31 10:53:10 +01:00
Raphael Coeffic c6b23797a7 Logical switches 2021-12-31 10:53:09 +01:00
elecpowerandRaphael Coeffic bb1f461225 Fix raw switch encode 2021-12-31 10:53:09 +01:00
Raphael Coeffic 763964193e Small fixes 2021-12-31 10:53:09 +01:00
Raphael Coeffic b73ffb5e08 WiP: write basic model data and models list 2021-12-31 10:53:09 +01:00
Raphael Coeffic 0e437ca492 Add RawSwitch converter 2021-12-31 10:53:09 +01:00