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 erwinpan1 committed Jul 27, 2023
1 parent e59133d commit 06bd494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/chef/common/chef-channel-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void ChefChannelManager::HandleChangeChannel(CommandResponseHelper<ChangeChannel
{
std::array<ChannelInfoType, kMaxChannels> matchedChannels;

uint16_t index = 0;
uint16_t index = 0;
uint16_t totalMatchedChannels = 0;
for (auto const & channel : mChannels)
{
Expand Down
3 changes: 2 additions & 1 deletion examples/chef/common/chef-channel-manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class ChefChannelManager : public chip::app::Clusters::Channel::Delegate
CHIP_ERROR HandleGetLineup(chip::app::AttributeValueEncoder & aEncoder);
CHIP_ERROR HandleGetCurrentChannel(chip::app::AttributeValueEncoder & aEncoder);

void HandleChangeChannel(chip::app::CommandResponseHelper<chip::app::Clusters::Channel::Commands::ChangeChannelResponse::Type> & helper,
void HandleChangeChannel(
chip::app::CommandResponseHelper<chip::app::Clusters::Channel::Commands::ChangeChannelResponse::Type> & helper,
const chip::CharSpan & match);
bool HandleChangeChannelByNumber(const uint16_t & majorNumber, const uint16_t & minorNumber);
bool HandleSkipChannel(const int16_t & count);
Expand Down

0 comments on commit 06bd494

Please sign in to comment.