Skip to content

Commit

Permalink
[Tizen] Add a header guard for thread (project-chip#22176)
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
2 people authored and isiu-apple committed Sep 16, 2022
1 parent ddb2cf4 commit 6ae9950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 1 addition & 7 deletions config/tizen/chip-gn/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ if (chip_enable_wifi) {
pkg_config("capi-network-wifi-manager") {
packages = [ "capi-network-wifi-manager" ]
}
pkg_config("capi-network-softap") {
packages = [ "capi-network-softap" ]
}
}

if (chip_enable_ble) {
Expand All @@ -74,10 +71,7 @@ source_set("tizen") {
}

if (chip_enable_wifi) {
public_configs += [
":capi-network-wifi-manager",
":capi-network-softap",
]
public_configs += [ ":capi-network-wifi-manager" ]
}

if (chip_enable_ble) {
Expand Down
2 changes: 2 additions & 0 deletions src/platform/Tizen/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@

#include <dns-sd-internal.h>
#include <glib.h>
#if CHIP_DEVICE_CONFIG_ENABLE_THREAD
#include <platform/ThreadStackManager.h>
#endif

using namespace chip::Dnssd;
using namespace chip::DeviceLayer::Internal;
Expand Down

0 comments on commit 6ae9950

Please sign in to comment.