Skip to content

Commit

Permalink
AP_Mission: correct incorrect comment about method reutrn value
Browse files Browse the repository at this point in the history
The comment for the AP_Mission::clear method had an incorrect claim as to the return value
  • Loading branch information
nionata authored and rmackay9 committed Oct 28, 2023
1 parent dfdd149 commit 8b4bc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Mission/AP_Mission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b4bc0e

Please sign in to comment.