mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-03 11:24:10 +01:00
Uploader gadget improvements
This commit is contained in:
parent
c6b6afa679
commit
98f286a682
@ -268,6 +268,10 @@ void deviceWidget::uploadFirmware()
|
|||||||
if (firmwareBoard != board) {
|
if (firmwareBoard != board) {
|
||||||
status("Error: firmware does not match board", STATUSICON_FAIL);
|
status("Error: firmware does not match board", STATUSICON_FAIL);
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
// Not a structured description: warn user
|
||||||
|
myDevice->buildDate->setText("Warning: development firmware");
|
||||||
|
myDevice->commitTag->setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the firmware embedded in the file:
|
// Check the firmware embedded in the file:
|
||||||
|
Loading…
Reference in New Issue
Block a user