use test files from radio & X7 tests
... and removed warnings dialog temporarily.
This commit is contained in:
@@ -43,6 +43,7 @@ bool BinEepromFormat::load(RadioData & radioData)
|
||||
return false;
|
||||
}
|
||||
|
||||
//TODO: show warnings if any
|
||||
return extract(radioData, eeprom);
|
||||
}
|
||||
|
||||
@@ -94,7 +95,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)) {
|
||||
EEPROMInterface::showEepromWarnings(NULL, CPN_STR_TTL_WARNING, errors.to_ulong());
|
||||
setWarning(EEPROMInterface::getEepromWarnings(errors.to_ulong()));
|
||||
}
|
||||
board = eepromInterface->getBoard();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user