File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 11#pragma once
2- #include < sdkconfig.h>
3- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
42
53#include < Arduino.h>
64#include < esp_matter.h>
@@ -30,6 +28,4 @@ class ArduinoMatter {
3028 static void decommission ();
3129};
3230
33- extern ArduinoMatter Matter;
34-
35- #endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
31+ extern ArduinoMatter Matter;
Original file line number Diff line number Diff line change 11#pragma once
2- #include < sdkconfig.h>
3- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
4-
52#include < Matter.h>
63#include < functional>
74
@@ -19,5 +16,4 @@ class MatterEndPoint {
1916
2017 protected:
2118 uint16_t endpoint_id = 0 ;
22- };
23- #endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
19+ };
Original file line number Diff line number Diff line change 11#pragma once
2- #include < sdkconfig.h>
3- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
42
53#include < Matter.h>
64#include < MatterEndPoint.h>
@@ -30,5 +28,4 @@ class MatterOnOffLight : public MatterEndPoint {
3028 bool started = false ;
3129 bool state = false ; // default initial state is off, but it can be changed by begin(bool)
3230 EndPointCB _onChangeCB = NULL ;
33- };
34- #endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
31+ };
You can’t perform that action at this time.
0 commit comments