Plane: make wp_distance static

removed hack in AP_Camera library
This commit is contained in:
Andrew Tridgell 2013-07-15 09:56:28 +10:00
parent 3ba713352f
commit ec21922233

View File

@ -513,8 +513,7 @@ static int32_t nav_pitch_cd;
// Waypoint distances
////////////////////////////////////////////////////////////////////////////////
// Distance between plane and next waypoint. Meters
// is not static because AP_Camera uses it
uint32_t wp_distance;
static uint32_t wp_distance;
// Distance between previous and next waypoint. Meters
static uint32_t wp_totalDistance;