Copter: remove call to camera.configure and control
The do_take_picture() function must be called for logging to occur. configure_msg is empty at the moment so the call to this is remove
This commit is contained in:
parent
8ee677cfce
commit
f24f5a6a32
@ -1420,11 +1420,10 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
|
||||
#if CAMERA == ENABLED
|
||||
case MAVLINK_MSG_ID_DIGICAM_CONFIGURE: // MAV ID: 202
|
||||
camera.configure_msg(msg);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_DIGICAM_CONTROL:
|
||||
camera.control_msg(msg);
|
||||
do_take_picture();
|
||||
break;
|
||||
#endif // CAMERA == ENABLED
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user