1
0
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:
edouard 2010-11-26 10:44:05 +00:00 committed by edouard
parent f759998f3b
commit 0c39ead89d

View File

@ -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()) {