From 3a5eb33d86e4ae19b8616f7a1fa712906fa1db6e Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Thu, 5 Feb 2015 17:35:13 +1100 Subject: [PATCH] GCS_MAVLink: Bug - CLI_ENABLED check should be in vehicle code only. Changes to fix the warnings in rover sitl build. We are starting the process of resolving all the warnings in the ardupilot builds of all vehicles and platforms. --- libraries/GCS_MAVLink/GCS.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/GCS_MAVLink/GCS.h b/libraries/GCS_MAVLink/GCS.h index 1a2a2d634e..83a5ee0ec6 100644 --- a/libraries/GCS_MAVLink/GCS.h +++ b/libraries/GCS_MAVLink/GCS.h @@ -185,10 +185,8 @@ private: mavlink_channel_t chan; uint16_t packet_drops; -#if CLI_ENABLED == ENABLED // this allows us to detect the user wanting the CLI to start uint8_t crlf_count; -#endif // waypoints uint16_t waypoint_request_i; // request index