Copter: fix camera feedback msg handling
If the camera was disabled, camera message handling would fall though to status-text msg handling.
This commit is contained in:
parent
7bb4a39608
commit
44dbf50101
@ -597,8 +597,8 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
|
||||
#if CAMERA == ENABLED
|
||||
CHECK_PAYLOAD_SIZE(CAMERA_FEEDBACK);
|
||||
camera.send_feedback(chan, gps, ahrs, current_loc);
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MSG_STATUSTEXT:
|
||||
CHECK_PAYLOAD_SIZE(STATUSTEXT);
|
||||
|
Loading…
Reference in New Issue
Block a user