From f202b7d28324b6fbe4939263b2cc03f4a622aaab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Aug 2015 14:28:00 +1000 Subject: [PATCH] Plane: prevent build error with MSG_RPM --- ArduPlane/GCS_Mavlink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index d817339979..f428e8cffd 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -798,6 +798,10 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id) CHECK_PAYLOAD_SIZE(VIBRATION); send_vibration(plane.ins); break; + + case MSG_RPM: + // unused + break; } return true; }