Browse Source

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.
mission-4.1.18
Grant Morphett 10 years ago committed by Andrew Tridgell
parent
commit
3a5eb33d86
  1. 2
      libraries/GCS_MAVLink/GCS.h

2
libraries/GCS_MAVLink/GCS.h

@ -185,10 +185,8 @@ private: @@ -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

Loading…
Cancel
Save