From 9d5c97eb07050920efcb9dd88981555d7d163b9b Mon Sep 17 00:00:00 2001 From: Nicholas Ionata Date: Wed, 25 Oct 2023 20:09:58 -0400 Subject: [PATCH] AP_Mission: correct incorrect comment about method reutrn value The comment for the AP_Mission::clear method had an incorrect claim as to the return value --- libraries/AP_Mission/AP_Mission.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Mission/AP_Mission.cpp b/libraries/AP_Mission/AP_Mission.cpp index d4d6030764771..a000e7ba91116 100644 --- a/libraries/AP_Mission/AP_Mission.cpp +++ b/libraries/AP_Mission/AP_Mission.cpp @@ -265,7 +265,7 @@ void AP_Mission::reset() } /// clear - clears out mission -/// returns true if mission was running so it could not be cleared +/// returns false if mission was running so it could not be cleared bool AP_Mission::clear() { // do not allow clearing the mission while it is running unless disarmed