From 8b4bc0e0777f0be2401dbe7bd68211d26ae92910 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 d4d60307647713..a000e7ba91116b 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