Skip to content

Commit

Permalink
ci(pre-commit): Apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Dec 3, 2024
1 parent 111400a commit b2776e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions libraries/Matter/src/MatterEndpoints/MatterGenericSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ using namespace esp_matter::endpoint;
using namespace esp_matter::cluster;
using namespace chip::app::Clusters;

MatterGenericSwitch::MatterGenericSwitch() {
}
MatterGenericSwitch::MatterGenericSwitch() {}

MatterGenericSwitch::~MatterGenericSwitch() {
end();
Expand Down Expand Up @@ -55,7 +54,7 @@ bool MatterGenericSwitch::begin() {
cluster::groups::config_t groups_config;
cluster::groups::create(endpoint, &groups_config, CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);

cluster_t* aCluster = cluster::get(endpoint,Descriptor::Id);
cluster_t *aCluster = cluster::get(endpoint, Descriptor::Id);
esp_matter::cluster::descriptor::feature::taglist::add(aCluster);

cluster::fixed_label::config_t fl_config;
Expand Down
2 changes: 1 addition & 1 deletion libraries/Matter/src/MatterEndpoints/MatterGenericSwitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MatterGenericSwitch : public MatterEndPoint {
MatterGenericSwitch();
~MatterGenericSwitch();
virtual bool begin();
void end(); // this will just stop processing Matter events
void end(); // this will just stop processing Matter events

// send a simple click event to the Matter Controller
void click();
Expand Down

0 comments on commit b2776e3

Please sign in to comment.