qCWarning(CameraControlLog)<<"Camera does not handle image capture while in video mode";
returnfalse;
}
if(photoStatus()!=PHOTO_CAPTURE_IDLE){
qCWarning(CameraControlLog)<<"Camera not idle";
returnfalse;
}
if(!_resetting){
@ -719,10 +728,11 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i
@@ -719,10 +728,11 @@ QGCCameraControl::_mavCommandResult(int vehicleId, int component, int command, i
switch(command){
caseMAV_CMD_IMAGE_START_CAPTURE:
caseMAV_CMD_IMAGE_STOP_CAPTURE:
if(++_captureInfoRetries<5){
if(++_captureInfoRetries<3){
_captureStatusTimer.start(1000);
}else{
qCDebug(CameraControlLog)<<"Giving up requesting capture status";
qCDebug(CameraControlLog)<<"Giving up start/stop image capture";