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:
parent
d6fa0bbf35
commit
f8ebb36278
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user