Browse Source

Search faster to not miss bootloader

QGC4.4
Don Gagne 10 years ago
parent
commit
ce31328367
  1. 2
      src/VehicleSetup/PX4FirmwareUpgradeThread.h

2
src/VehicleSetup/PX4FirmwareUpgradeThread.h

@ -96,7 +96,7 @@ private: @@ -96,7 +96,7 @@ private:
QextSerialPort* _bootloaderPort;
QTimer* _timerRetry;
QTime _elapsed;
static const int _retryTimeout = 1000;
static const int _retryTimeout = 100;
bool _foundBoard; ///< true: board is currently connected
bool _findBoardFirstAttempt; ///< true: this is our first try looking for a board

Loading…
Cancel
Save