Skip to content

Commit df15a3d

Browse files
Restyled by clang-format
1 parent d17f8ab commit df15a3d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/inet/UDPEndPointImplSockets.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ CHIP_ERROR UDPEndPointImplSockets::IPv4JoinLeaveMulticastGroupImpl(InterfaceId a
784784
#ifdef SOCKET_ENABLE_MREQN
785785
struct ip_mreqn lMulticastRequest;
786786
memset(&lMulticastRequest, 0, sizeof(lMulticastRequest));
787-
lMulticastRequest.imr_ifindex = -1; /* Network interface index */
788-
lMulticastRequest.imr_address = interfaceAddr; /* IP address of local interface */
787+
lMulticastRequest.imr_ifindex = -1; /* Network interface index */
788+
lMulticastRequest.imr_address = interfaceAddr; /* IP address of local interface */
789789
lMulticastRequest.imr_multiaddr = aAddress.ToIPv4(); /* IP multicast group address*/
790790

791791
#else

src/platform/Zephyr/CHIPDevicePlatformConfig.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -52,35 +52,35 @@
5252
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 1
5353
#else
5454
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 0
55-
#endif //CONFIG_NET_L2_OPENTHREAD
56-
#endif //CHIP_DEVICE_CONFIG_ENABLE_THREAD
55+
#endif // CONFIG_NET_L2_OPENTHREAD
56+
#endif // CHIP_DEVICE_CONFIG_ENABLE_THREAD
5757

5858
// Check if Zephyr app use BT
5959
#ifndef CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
6060
#ifdef CONFIG_BT
6161
#define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 1
6262
#else
6363
#define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 0
64-
#endif //CONFIG_BT
65-
#endif //CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
64+
#endif // CONFIG_BT
65+
#endif // CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
6666

6767
// Check if Zephyr app use WIFI
6868
#ifndef CHIP_DEVICE_CONFIG_ENABLE_WIFI
6969
#ifdef CONFIG_WIFI
7070
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI 1
7171
#else
7272
#define CHIP_DEVICE_CONFIG_ENABLE_WIFI 0
73-
#endif //CONFIG_WIFI
74-
#endif //CHIP_DEVICE_CONFIG_ENABLE_WIFI
73+
#endif // CONFIG_WIFI
74+
#endif // CHIP_DEVICE_CONFIG_ENABLE_WIFI
7575
// Check if Zephyr app use NET_L2_ETHERNET
7676

7777
#ifndef CHIP_DEVICE_CONFIG_ENABLE_ETHERNET
7878
#ifdef CONFIG_NET_L2_ETHERNET
7979
#define CHIP_DEVICE_CONFIG_ENABLE_ETHERNET 1
8080
#else
8181
#define CHIP_DEVICE_CONFIG_ENABLE_ETHERNET 0
82-
#endif //CONFIG_NET_L2_ETHERNET
83-
#endif //CHIP_DEVICE_CONFIG_ENABLE_ETHERNET
82+
#endif // CONFIG_NET_L2_ETHERNET
83+
#endif // CHIP_DEVICE_CONFIG_ENABLE_ETHERNET
8484

8585
// ========== Platform-specific Configuration =========
8686

0 commit comments

Comments
 (0)