Companion fix sources lists for X10 and T16 radios and improve radio conversion of sources (#7888)

* Fix Horus T16 rawsource conversions

* Companion fix unknown source

* Refactor rawsource conversion between radios

* Better handling of Mouse Analogs for x10

* Fix unknown sources for X10 and T16

* Revert "Fix unknown sources for X10 and T16"

This reverts commit dfe3909ee4f7c985ac5ec27cae3a55cb6c0a15fc.

* Companion fix unknown source

* Cosmetics

* Cosmetics

* Clear rawswitch when no match

* Check forced conv successful
This commit is contained in:
Neil Horne
2020-08-28 15:59:20 +02:00
committed by GitHub
parent 414fba167d
commit 1a9a6c1f49
4 changed files with 61 additions and 101 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ int Boards::getCapability(Board::Type board, Board::Capability capability)
return 0;
case MouseAnalogs:
if (IS_FAMILY_HORUS_OR_T16(board))
if (IS_HORUS_X12S(board))
return 2;
else
return 0;