1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-99 Fix firmware path not found

This commit is contained in:
Laurent Lalanne 2015-09-13 10:38:24 +02:00
parent d6fa0bbf35
commit f8ebb36278

View File

@ -545,7 +545,7 @@ QString DeviceWidget::getDevFirmwarePath()
fwDirectory.cd("../../../../../..");
fwDirectoryStr = fwDirectory.absolutePath();
#endif
fwDirectoryStr = fwDirectoryStr + "/fw_" + myDevice->lblBrdName->text().toLower() + "/fw_" + myDevice->lblBrdName->text().toLower() + ".opfw";
fwDirectoryStr = fwDirectoryStr + "/firmware/fw_" + myDevice->lblBrdName->text().toLower() + "/fw_" + myDevice->lblBrdName->text().toLower() + ".opfw";
return fwDirectoryStr;
}