Skip to content

Commit

Permalink
safety_button: fix missing return when module exits
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Jan 22, 2020
1 parent 555d9ba commit 17580f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/safety_button/SafetyButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ SafetyButton::Run()
{
if (should_exit()) {
exit_and_cleanup();
return;
}

CheckButton();
Expand Down

0 comments on commit 17580f4

Please sign in to comment.