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:
Randy Mackay 2014-10-31 12:32:21 +09:00
parent 7bb4a39608
commit 44dbf50101

View File

@ -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);