Tracker: remove use of defunct state variables

This commit is contained in:
Peter Barker 2019-02-01 16:01:03 +11:00 committed by Peter Barker
parent d0105c8fa7
commit a148e9648e
2 changed files with 1 additions and 2 deletions

View File

@ -433,8 +433,6 @@ void GCS_MAVLINK_Tracker::handleMessage(mavlink_message_t* msg)
{
// New home at wp index 0. Ask for it
waypoint_receiving = true;
waypoint_request_i = 0;
waypoint_request_last = 0;
send_message(MSG_NEXT_MISSION_REQUEST);
}
break;

View File

@ -44,4 +44,5 @@ private:
MAV_MODE base_mode() const override;
MAV_STATE system_status() const override;
bool waypoint_receiving;
};