Skip to content

Commit

Permalink
Truly adhere to code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tatjam authored Mar 1, 2024
1 parent a94ba73 commit 3c859a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platforms/common/include/px4_platform_common/app.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class AppState
bool isRunning() { return _isRunning; }
void setRunning(bool running)
{
if(running) _exitRequested = false;
if(running) { _exitRequested = false; }

_isRunning = running;
}

Expand Down

0 comments on commit 3c859a2

Please sign in to comment.