From 173d5aba06ed30fb0b86f55482ccaf6699a7a5ca Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 18 Jan 2017 11:34:21 +0100 Subject: [PATCH] [Companion] Another fix for #4224 --- companion/src/firmwares/opentx/opentxinterface.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index c44e9d703..bee1ce3d5 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -178,8 +178,13 @@ bool OpenTxEepromInterface::loadFromByteArray(T & dest, const QByteArray & data) { uint32_t fourcc = *((uint32_t*)&data.data()[0]); if (getFourCC() != fourcc) { - qDebug() << QString().sprintf("%s: Wrong fourcc %x vs %x", getName(), fourcc, getFourCC()); - return false; + if (IS_HORUS(board) && fourcc == 0x3178396F) { + qDebug() << QString().sprintf("%s: Deprecated fourcc used %x vs %x", getName(), fourcc, getFourCC()); + } + else { + qDebug() << QString().sprintf("%s: Wrong fourcc %x vs %x", getName(), fourcc, getFourCC()); + return false; + } } qDebug() << QString().sprintf("%s: OK", getName()); uint8_t version = data[4];