mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:58:52 +08:00
safety_button: fix missing return when module exits
This commit is contained in:
@@ -204,6 +204,7 @@ SafetyButton::Run()
|
||||
{
|
||||
if (should_exit()) {
|
||||
exit_and_cleanup();
|
||||
return;
|
||||
}
|
||||
|
||||
CheckButton();
|
||||
|
||||
Reference in New Issue
Block a user