Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and hicklin committed Dec 14, 2023
1 parent ea77f68 commit 9902a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rvc-app/rvc-common/src/rvc-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ void RvcDevice::HandleOpStatePauseCallback(Clusters::OperationalState::GenericOp
{
// This method is only called if the device is in a Pause-compatible state, i.e. `Running` or `SeekingCharger`.
mStateBeforePause = mOperationalStateInstance.GetCurrentOperationalState();
auto error = mOperationalStateInstance.SetOperationalState(to_underlying(OperationalState::OperationalStateEnum::kPaused));
auto error = mOperationalStateInstance.SetOperationalState(to_underlying(OperationalState::OperationalStateEnum::kPaused));
err.Set((error == CHIP_NO_ERROR) ? to_underlying(OperationalState::ErrorStateEnum::kNoError)
: to_underlying(OperationalState::ErrorStateEnum::kUnableToCompleteOperation));
: to_underlying(OperationalState::ErrorStateEnum::kUnableToCompleteOperation));
}

void RvcDevice::HandleOpStateResumeCallback(Clusters::OperationalState::GenericOperationalError & err)
Expand Down

0 comments on commit 9902a09

Please sign in to comment.