diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index bc5a1e36b..094c3eafe 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -232,7 +232,6 @@ unsigned long OpenTxEepromInterface::load(RadioData &radioData, const uint8_t * if (version_error == OLD_VERSION) { errors.set(version_error); errors.set(HAS_WARNINGS); - showEepromWarnings(NULL, CPN_STR_TTL_WARNING, errors.to_ulong()); } else if (version_error == NOT_OPENTX) { dbg << " not open9x"; diff --git a/companion/src/storage/bineeprom.cpp b/companion/src/storage/bineeprom.cpp index b080f7657..b896b2a01 100644 --- a/companion/src/storage/bineeprom.cpp +++ b/companion/src/storage/bineeprom.cpp @@ -94,7 +94,7 @@ bool BinEepromFormat::extract(RadioData & radioData, const QByteArray & eeprom) std::bitset result((unsigned long long)eepromInterface->load(radioData, (uint8_t *)eeprom.data(), eeprom.size())); if (result.test(ALL_OK)) { if (errors.test(HAS_WARNINGS)) { - // TODO ShowEepromWarnings(this, CPN_STR_TTL_WARNING, errors.to_ulong()); + EEPROMInterface::showEepromWarnings(NULL, CPN_STR_TTL_WARNING, errors.to_ulong()); } board = eepromInterface->getBoard(); return true;