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.
This commit is contained in:
Grant Morphett 2015-02-05 17:35:13 +11:00 committed by Andrew Tridgell
parent 4860c84dff
commit 3a5eb33d86

View File

@ -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