Fixes #4299 and #4298 and other Horus import/export bugs. Checked all existing IS_TARANIS() macros and tuned them to IS_HORUS_OR_TARANIS() where needed. (#4301)

This commit is contained in:
Damjan Adamic
2017-01-26 22:15:17 +01:00
committed by Bertrand Songis
parent 8b1078d081
commit 0f90ff0b65
8 changed files with 36 additions and 30 deletions
+5 -1
View File
@@ -281,7 +281,11 @@ QString ModelPrinter::printCenterBeep()
strl << tr("Throttle");
if (model.beepANACenter & 0x08)
strl << tr("Aileron");
if (IS_TARANIS(firmware->getBoard())) {
if (IS_HORUS(firmware->getBoard())) {
// TODO
qDebug() << "ModelPrinter::printCenterBeep() TODO";
}
else if (IS_TARANIS(firmware->getBoard())) {
if (model.beepANACenter & 0x10)
strl << "S1";
if (model.beepANACenter & 0x20)