This commit is contained in:
Andre Bernet
2016-09-01 11:15:28 +02:00
parent 723e4bf9c7
commit caf0fca1c2
+1 -1
View File
@@ -346,7 +346,7 @@ unsigned int FirmwareInterface::save(QString fileName)
if (binflash == NULL) { if (binflash == NULL) {
return -1; return -1;
} }
memcpy(&binflash, flash.constData(), flashSize); memcpy(binflash, flash.constData(), flashSize);
QFile file(fileName); QFile file(fileName);
int fileType = getFileType(fileName); int fileType = getFileType(fileName);