Skip to content

Commit 260d619

Browse files
committed
fix(matter): using correct ci requirements in header files
1 parent 3a185e9 commit 260d619

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

libraries/Matter/src/Matter.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
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;

libraries/Matter/src/MatterEndPoint.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
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+
};

libraries/Matter/src/MatterOnOffLight.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
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+
};

0 commit comments

Comments
 (0)