mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-35 Only do a 'verify' operation if the device is readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2152 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
f759998f3b
commit
0c39ead89d
@ -108,7 +108,10 @@ void deviceWidget::uploadFirmware()
|
||||
return;
|
||||
}
|
||||
|
||||
bool verify = true;
|
||||
bool verify = false;
|
||||
if (m_dfu->devices[deviceID].Readable)
|
||||
verify = true;
|
||||
|
||||
QString filename = setOpenFileName();
|
||||
|
||||
if (filename.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user