Skip to content

Commit

Permalink
Removed identical condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneJosefsen committed Mar 13, 2023
1 parent bc8c9ec commit 3a6057a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/pump-app/nrfconnect/main/PumpManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void PumpManager::SetCallbacks(Callback_fn_initiated aActionInitiated_CB, Callba

bool PumpManager::IsActionInProgress()
{
return (mState == kState_StartInitiated || mState == kState_StartInitiated) ? true : false;
return (mState == kState_StartInitiated) ? true : false;
}

bool PumpManager::IsStopped()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void PumpManager::SetCallbacks(Callback_fn_initiated aActionInitiated_CB, Callba

bool PumpManager::IsActionInProgress()
{
return (mState == kState_StartInitiated || mState == kState_StartInitiated) ? true : false;
return (mState == kState_StartInitiated) ? true : false;
}

bool PumpManager::IsStopped()
Expand Down

0 comments on commit 3a6057a

Please sign in to comment.