From f2d9ad41aa3761bb67535ae3e2b996e75cb77fe0 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 22 Mar 2014 12:45:35 +0900 Subject: [PATCH] Mission: minor comment update --- libraries/AP_Mission/AP_Mission.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Mission/AP_Mission.h b/libraries/AP_Mission/AP_Mission.h index 9c9306b179..b436093fe8 100644 --- a/libraries/AP_Mission/AP_Mission.h +++ b/libraries/AP_Mission/AP_Mission.h @@ -245,6 +245,7 @@ public: const Mission_Command& get_current_nav_cmd() const { return _nav_cmd; } /// get_prev_nav_cmd_index - returns the previous "navigation" commands index (i.e. position in the mission command list) + /// if there was no previous nav command it returns AP_MISSION_CMD_INDEX_NONE /// we do not return the entire command to save on RAM uint16_t get_prev_nav_cmd_index() { return _prev_nav_cmd_index; }