Skip to content

Commit

Permalink
Fix the build with chip_wifi_enable=false and chip_detail_logging=fal…
Browse files Browse the repository at this point in the history
…se (project-chip#4222)

* [build] fix chip_enable_wifi=false build (project-chip#4220)

* [build] fix chip_detail_logging=false build (project-chip#4221)
  • Loading branch information
msandstedt authored and kpschoedel committed Jan 8, 2021
1 parent e0fc777 commit 6eb5f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/MessageDef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static void PrettyPrintIM(bool aIsNewLine, const char * aFmt, ...)
#define PRETTY_PRINT_CHECKPOINT()
#define PRETTY_PRINT(fmt, ...)
#define PRETTY_PRINT(fmt, ...)
#define PRETTY_PRINT_SAMELINE(fmt, ...)
#define PRETTY_PRINT_INCDEPTH()
#define PRETTY_PRINT_DECDEPTH()
#endif // CHIP_DETAIL_LOGGING
Expand Down
2 changes: 2 additions & 0 deletions src/platform/Linux/ConnectivityManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class ConnectivityManagerImpl final : public ConnectivityManager,
uint32_t mWiFiAPIdleTimeoutMS;
};

#if CHIP_DEVICE_CONFIG_ENABLE_WPA
inline ConnectivityManager::WiFiAPMode ConnectivityManagerImpl::_GetWiFiAPMode()
{
return mWiFiAPMode;
Expand All @@ -202,6 +203,7 @@ inline bool ConnectivityManagerImpl::_HaveServiceConnectivity()
{
return _HaveServiceConnectivityViaThread();
}
#endif

/**
* Returns the public interface of the ConnectivityManager singleton object.
Expand Down

0 comments on commit 6eb5f01

Please sign in to comment.