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 tcarmelveilleux committed Jan 29, 2024
1 parent 4388829 commit a0b2c18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/common/pigweed/rpc_services/BooleanState.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BooleanState final : public pw_rpc::nanopb::BooleanState::Service<BooleanS
virtual pw::Status Set(const chip_rpc_BooleanStateSetRequest & request, chip_rpc_BooleanStateSetResponse & response)
{
EndpointId endpointId = request.endpoint_id;
bool newState = request.state_value;
bool newState = request.state_value;

EventNumber eventNumber;
{
Expand All @@ -56,7 +56,7 @@ class BooleanState final : public pw_rpc::nanopb::BooleanState::Service<BooleanS
virtual pw::Status Get(const chip_rpc_BooleanStateGetRequest & request, chip_rpc_BooleanStateGetResponse & response)
{
EndpointId endpointId = request.endpoint_id;
bool state_value = false;
bool state_value = false;

{
DeviceLayer::StackLock lock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define RETURN_STATUS_IF_NOT_OK(expr) \
do \
{ \
pw::Status __status = chip::rpc::EmberOrChipStatusToPwStatus(expr); \
pw::Status __status = chip::rpc::EmberOrChipStatusToPwStatus(expr); \
if (!__status.ok()) \
{ \
return __status; \
Expand Down

0 comments on commit a0b2c18

Please sign in to comment.