File tree 3 files changed +3
-14
lines changed
3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
- #include < sdkconfig.h>
3
- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
4
2
5
3
#include < Arduino.h>
6
4
#include < esp_matter.h>
@@ -30,6 +28,4 @@ class ArduinoMatter {
30
28
static void decommission ();
31
29
};
32
30
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 1
1
#pragma once
2
- #include < sdkconfig.h>
3
- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
4
-
5
2
#include < Matter.h>
6
3
#include < functional>
7
4
@@ -19,5 +16,4 @@ class MatterEndPoint {
19
16
20
17
protected:
21
18
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 1
1
#pragma once
2
- #include < sdkconfig.h>
3
- #ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
4
2
5
3
#include < Matter.h>
6
4
#include < MatterEndPoint.h>
@@ -30,5 +28,4 @@ class MatterOnOffLight : public MatterEndPoint {
30
28
bool started = false ;
31
29
bool state = false ; // default initial state is off, but it can be changed by begin(bool)
32
30
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