Commit 16cda58b authored by Lorenz Meier's avatar Lorenz Meier

Firmwareplugin: Trim retry period to something that matches closer the users...

Firmwareplugin: Trim retry period to something that matches closer the users attention and is still long enough to allow for multiple heartbeats to pass through
parent 31cac731
......@@ -485,7 +485,7 @@ bool FirmwarePlugin::_setFlightModeAndValidate(Vehicle* vehicle, const QString&
vehicle->setFlightMode(flightMode);
// Wait for vehicle to return flight mode
for (int i=0; i<30; i++) {
for (int i=0; i<22; i++) {
if (vehicle->flightMode() == flightMode) {
flightModeChanged = true;
break;
......
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