Skip to content

Commit 497ad27

Browse files
hyunuktakandy31415
andauthored
[Tizen] Add a header guard for thread (#22176)
- Problem There is no header guard for ThreadStackManager.h And softap module is not currently used. - Summary of Changes Add the header guard for ThreadStackManager.h using CHIP_DEVICE_CONFIG_ENABLE_THREAD. Remove the softap content from the pkg config. - Summary of Changes chip-tool and chip-lighting-app examples Signed-off-by: hyunuk.tak <[email protected]> Signed-off-by: hyunuk.tak <[email protected]> Co-authored-by: Andrei Litvin <[email protected]>
1 parent 50f9835 commit 497ad27

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

config/tizen/chip-gn/platform/BUILD.gn

+1-7
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ if (chip_enable_wifi) {
4545
pkg_config("capi-network-wifi-manager") {
4646
packages = [ "capi-network-wifi-manager" ]
4747
}
48-
pkg_config("capi-network-softap") {
49-
packages = [ "capi-network-softap" ]
50-
}
5148
}
5249

5350
if (chip_enable_ble) {
@@ -74,10 +71,7 @@ source_set("tizen") {
7471
}
7572

7673
if (chip_enable_wifi) {
77-
public_configs += [
78-
":capi-network-wifi-manager",
79-
":capi-network-softap",
80-
]
74+
public_configs += [ ":capi-network-wifi-manager" ]
8175
}
8276

8377
if (chip_enable_ble) {

src/platform/Tizen/DnssdImpl.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232

3333
#include <dns-sd-internal.h>
3434
#include <glib.h>
35+
#if CHIP_DEVICE_CONFIG_ENABLE_THREAD
3536
#include <platform/ThreadStackManager.h>
37+
#endif
3638

3739
using namespace chip::Dnssd;
3840
using namespace chip::DeviceLayer::Internal;

0 commit comments

Comments
 (0)