EEPROM support in Companion for the 6pos pots on Taranis

This commit is contained in:
Bertrand Songis
2014-01-31 17:19:21 +01:00
parent 1cef62df48
commit 8ef1456fe9
6 changed files with 82 additions and 33 deletions
@@ -682,6 +682,10 @@ int Open9xInterface::getCapability(const Capability capability)
return (IS_STOCK(board) ? false : true);
case HasMahPersistent:
return (IS_ARM(board) ? true : false);
case MultiposPots:
return IS_TARANIS(board) ? 2 : 0;
case MultiposPotsPositions:
return IS_TARANIS(board) ? 6 : 0;
default:
return 0;
}