Commit 5645421c authored by Don Gagne's avatar Don Gagne

Increase timeout for active link check

Was failing on slower ArduPilot boots. Also could fail on PX4 boots
which required px4io flash on boot.
parent f18d9bc8
......@@ -244,9 +244,9 @@ private:
bool _autoconnect3DRRadio;
bool _autoconnectPX4Flow;
QTimer _activeLinkCheckTimer; // Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; // List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 7000;
QTimer _activeLinkCheckTimer; ///< Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; ///< List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 10000; ///< Amount of time to wait for a heatbeat. Keep in mind ArduPilot stack heartbeat is slow to come.
static const char* _settingsGroup;
static const char* _autoconnectUDPKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment