From d1ac6cbd4ce6ed79f991eeb4251c59ed8684986f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 14 Oct 2015 12:54:03 -0300 Subject: [PATCH] GCS_MAVLink: remove check for vibe check For all supported boards we have vibration check. --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 4c3e5531d9..b6b247abb2 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -1368,7 +1368,6 @@ void GCS_MAVLINK::send_local_position(const AP_AHRS &ahrs) const */ void GCS_MAVLINK::send_vibration(const AP_InertialSensor &ins) const { -#if INS_VIBRATION_CHECK Vector3f vibration = ins.get_vibration_levels(); mavlink_msg_vibration_send( @@ -1380,7 +1379,6 @@ void GCS_MAVLINK::send_vibration(const AP_InertialSensor &ins) const ins.get_accel_clip_count(0), ins.get_accel_clip_count(1), ins.get_accel_clip_count(2)); -#endif } void GCS_MAVLINK::send_home(const Location &home) const