Fixes #2380: can't select LS or RS as source in INPUT and MIXERS

This commit is contained in:
Damjan Adamic
2015-06-25 11:22:27 +02:00
parent 5ab974e140
commit a8a3a7e29a
5 changed files with 45 additions and 16 deletions
@@ -576,10 +576,8 @@ int OpenTxFirmware::getCapability(const Capability capability)
case Pots:
if (IS_TARANIS_X9E(board))
return 4;
else if (IS_TARANIS_PLUS(board))
return 3;
else if (IS_TARANIS(board))
return 2;
return 3; //Taranis has only 2 pots but still has a placeholder in settings for 3 pots
else
return 3;
case Sliders: