Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2776e3

Browse files
authoredDec 3, 2024··
ci(pre-commit): Apply automatic fixes
1 parent 111400a commit b2776e3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎libraries/Matter/src/MatterEndpoints/MatterGenericSwitch.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ using namespace esp_matter::endpoint;
2424
using namespace esp_matter::cluster;
2525
using namespace chip::app::Clusters;
2626

27-
MatterGenericSwitch::MatterGenericSwitch() {
28-
}
27+
MatterGenericSwitch::MatterGenericSwitch() {}
2928

3029
MatterGenericSwitch::~MatterGenericSwitch() {
3130
end();
@@ -55,7 +54,7 @@ bool MatterGenericSwitch::begin() {
5554
cluster::groups::config_t groups_config;
5655
cluster::groups::create(endpoint, &groups_config, CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);
5756

58-
cluster_t* aCluster = cluster::get(endpoint,Descriptor::Id);
57+
cluster_t *aCluster = cluster::get(endpoint, Descriptor::Id);
5958
esp_matter::cluster::descriptor::feature::taglist::add(aCluster);
6059

6160
cluster::fixed_label::config_t fl_config;

‎libraries/Matter/src/MatterEndpoints/MatterGenericSwitch.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class MatterGenericSwitch : public MatterEndPoint {
2525
MatterGenericSwitch();
2626
~MatterGenericSwitch();
2727
virtual bool begin();
28-
void end(); // this will just stop processing Matter events
28+
void end(); // this will just stop processing Matter events
2929

3030
// send a simple click event to the Matter Controller
3131
void click();

0 commit comments

Comments
 (0)
Please sign in to comment.