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

Merged in f5soh/librepilot/laurent/LP-99_Fix_firmware_path (pull request #57)

LP-99 Fix firmware path not found
This commit is contained in:
Alessio Morale 2015-09-15 23:21:49 +02:00
commit b8c101f6c7

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;
}