Fix companion import

This fixes #6443
This commit is contained in:
3djc
2019-05-24 18:12:07 +02:00
parent f7b323e5cd
commit d8a34dc195
3 changed files with 17 additions and 4 deletions
@@ -963,6 +963,11 @@ bool OpenTxEepromInterface::checkVariant(unsigned int version, unsigned int vari
variantError = true;
}
}
else if (IS_TARANIS_X9LITE(board)) {
if (variant != TARANIS_X9LITE_VARIANT) {
variantError = true;
}
}
else if (IS_TARANIS(board)) {
if (variant != 0) {
variantError = true;