Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and marius-preda committed Oct 17, 2024
1 parent f17ad32 commit 35605be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ void chip::NXP::App::CommonDeviceCallbacks::DeviceEventCallback(const ChipDevice
break;
#if CHIP_DEVICE_CONFIG_ENABLE_WPA
case DeviceEventType::kThreadConnectivityChange:
if (!ConnectivityMgr().IsWiFiStationConnected() &&
(event->ThreadConnectivityChange.Result == kConnectivity_Established))
if (!ConnectivityMgr().IsWiFiStationConnected() && (event->ThreadConnectivityChange.Result == kConnectivity_Established))
{
// Restart DnsSd service when operating as Matter over Thread
chip::app::DnssdServer::Instance().StartServer();
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nxp/common/DnssdImplBr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static uint32_t mServiceListFreeIndex;

CHIP_ERROR NxpChipDnssdInit(DnssdAsyncReturnCallback initCallback, DnssdAsyncReturnCallback errorCallback, void * context)
{
struct netif * extNetif = (ConnectivityManagerImpl().GetExternalInterface()).GetPlatformInterface();
struct netif * extNetif = (ConnectivityManagerImpl().GetExternalInterface()).GetPlatformInterface();

mNetifIndex = netif_get_index(extNetif);
initCallback(context, CHIP_NO_ERROR);
Expand Down

0 comments on commit 35605be

Please sign in to comment.