Commit d3f3230a authored by Gus Grubba's avatar Gus Grubba

Wait a bit between reset and request parameters

parent 9f41c6ea
...@@ -404,8 +404,8 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i ...@@ -404,8 +404,8 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i
if(isBasic()) { if(isBasic()) {
_requestCameraSettings(); _requestCameraSettings();
} else { } else {
_requestAllParameters(); QTimer::singleShot(500, this, &QGCCameraControl::_requestAllParameters);
QTimer::singleShot(2000, this, &QGCCameraControl::_requestCameraSettings); QTimer::singleShot(2500, this, &QGCCameraControl::_requestCameraSettings);
} }
break; break;
case MAV_CMD_VIDEO_START_CAPTURE: case MAV_CMD_VIDEO_START_CAPTURE:
......
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