mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
OP356/GCS - Update uploadergadgetwidget to cope with latest changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3104 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
6bcacb1630
commit
06826840aa
@ -196,8 +196,8 @@ void UploaderGadgetWidget::goToBootloader(UAVObject* callerObj, bool success)
|
||||
|
||||
// The board is now reset: we have to disconnect telemetry
|
||||
Core::ConnectionManager *cm = Core::ICore::instance()->connectionManager();
|
||||
QString dli = cm->getCurrentDevice().devName;
|
||||
QString dlj = cm->getCurrentDevice().displayedName;
|
||||
QString dli = cm->getCurrentDevice().Name;
|
||||
QString dlj = cm->getCurrentDevice().devName;
|
||||
cm->disconnectDevice();
|
||||
// Tell connections to stop their polling threads: otherwise it will mess up DFU
|
||||
cm->suspendPolling();
|
||||
|
Loading…
Reference in New Issue
Block a user