Plane: move sending of camera_feedback up
This commit is contained in:
parent
7ca146878d
commit
4aee416c1d
@ -560,13 +560,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSG_CAMERA_FEEDBACK:
|
|
||||||
#if CAMERA == ENABLED
|
|
||||||
CHECK_PAYLOAD_SIZE(CAMERA_FEEDBACK);
|
|
||||||
plane.camera.send_feedback(chan);
|
|
||||||
#endif
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MSG_BATTERY2:
|
case MSG_BATTERY2:
|
||||||
CHECK_PAYLOAD_SIZE(BATTERY2);
|
CHECK_PAYLOAD_SIZE(BATTERY2);
|
||||||
send_battery2(plane.battery);
|
send_battery2(plane.battery);
|
||||||
|
Loading…
Reference in New Issue
Block a user