Fix eeprom load multiples warnings

This commit is contained in:
3djc
2019-05-17 14:47:29 +02:00
parent 0d9ea8a59a
commit 868295d87a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ bool BinEepromFormat::extract(RadioData & radioData, const QByteArray & eeprom)
std::bitset<NUM_ERRORS> 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;