This commit is contained in:
bsongis
2015-07-22 18:55:54 +02:00
parent 0a213389f4
commit a94d08606f
4 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -102,7 +102,7 @@ int FlashEEpromDialog::getEEpromVersion(const QString &filename)
return -1;
}
QByteArray eeprom(EESIZE_RLC_MAX, 0);
QByteArray eeprom(EESIZE_MAX, 0);
int fileType = getFileType(filename);
#if 0
@@ -144,7 +144,7 @@ int FlashEEpromDialog::getEEpromVersion(const QString &filename)
return -1;
}
}
eeprom_size = HexInterface(inputStream).load((uint8_t *)eeprom.data(), EESIZE_RLC_MAX);
eeprom_size = HexInterface(inputStream).load((uint8_t *)eeprom.data(), EESIZE_MAX);
}
else if (fileType==FILE_TYPE_BIN) { //read binary
eeprom_size = file.size();