From afbacb1aeab02372aef85d3c438b53be5ea67793 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Aug 2015 14:27:38 +1000 Subject: [PATCH] Rover: prevent build error with MSG_RPM --- APMrover2/GCS_Mavlink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index b6d7361226..490f5df6b5 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -584,6 +584,7 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id) case MSG_TERRAIN: case MSG_OPTICAL_FLOW: case MSG_GIMBAL_REPORT: + case MSG_RPM: break; // just here to prevent a warning }