From 44dbf50101dc77416f98cb74c43b94ed08d7230f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 31 Oct 2014 12:32:21 +0900 Subject: [PATCH] Copter: fix camera feedback msg handling If the camera was disabled, camera message handling would fall though to status-text msg handling. --- ArduCopter/GCS_Mavlink.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/GCS_Mavlink.pde b/ArduCopter/GCS_Mavlink.pde index d01e73750a..edb5c52c62 100644 --- a/ArduCopter/GCS_Mavlink.pde +++ b/ArduCopter/GCS_Mavlink.pde @@ -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);