[Companion] OTX format bug with X9D boards

The files were always converted as X9D doesn't have its own FourCC
This commit is contained in:
Bertrand Songis
2017-01-25 15:32:30 +01:00
parent 362698484f
commit b53ec7392c
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ void MainWindow::checkForFirmwareUpdateFinished(QNetworkReply * reply)
void MainWindow::startFirmwareDownload()
{
QString url = current_firmware_variant->getFirmwareUrl();
qDebug() "Downloading firmware" << url;
qDebug() << "Downloading firmware" << url;
QString ext = url.mid(url.lastIndexOf("."));
QString defaultFilename = g.flashDir() + "/" + current_firmware_variant->getId();
if (g.profile[g.id()].renameFwFiles()) {