Skip to content

Commit f0d2265

Browse files
committed
Fix formatting
1 parent fe372f1 commit f0d2265

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

source/FreeRTOS_DNS.c

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@ const MACAddress_t xLLMNR_MacAddressIPv6 = { { 0x33, 0x33, 0x00, 0x01, 0x00, 0x0
6565

6666
#if ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
6767
/** @brief The IPv6 link-scope multicast address */
68-
const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6 =
69-
{
70-
{ /* ff02::1:3 */
71-
0xff, 0x02,
72-
0x00, 0x00,
73-
0x00, 0x00,
74-
0x00, 0x00,
75-
0x00, 0x00,
76-
0x00, 0x00,
77-
0x00, 0x01,
78-
0x00, 0x03,
79-
}
80-
};
68+
const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6 =
69+
{
70+
{ /* ff02::1:3 */
71+
0xff, 0x02,
72+
0x00, 0x00,
73+
0x00, 0x00,
74+
0x00, 0x00,
75+
0x00, 0x00,
76+
0x00, 0x00,
77+
0x00, 0x01,
78+
0x00, 0x03,
79+
}
80+
};
8181
#endif /* ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
8282

8383
/** @brief The MAC address used for MDNS. */
@@ -88,19 +88,19 @@ const MACAddress_t xMDNS_MacAddressIPv6 = { { 0x33, 0x33, 0x00, 0x00, 0x00, 0xFB
8888

8989
#if ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
9090
/** @brief multicast DNS IPv6 address */
91-
const IPv6_Address_t ipMDNS_IP_ADDR_IPv6 =
92-
{
93-
{ /* ff02::fb */
94-
0xff, 0x02,
95-
0x00, 0x00,
96-
0x00, 0x00,
97-
0x00, 0x00,
98-
0x00, 0x00,
99-
0x00, 0x00,
100-
0x00, 0x00,
101-
0x00, 0xfb,
102-
}
103-
};
91+
const IPv6_Address_t ipMDNS_IP_ADDR_IPv6 =
92+
{
93+
{ /* ff02::fb */
94+
0xff, 0x02,
95+
0x00, 0x00,
96+
0x00, 0x00,
97+
0x00, 0x00,
98+
0x00, 0x00,
99+
0x00, 0x00,
100+
0x00, 0x00,
101+
0x00, 0xfb,
102+
}
103+
};
104104
#endif /* ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
105105

106106
/* Exclude the entire file if DNS is not enabled. */

source/FreeRTOS_IP.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ static void prvIPTask( void * pvParameters )
223223
{
224224
prvProcessIPEventsAndTimers();
225225
}
226-
227226
}
228227
/*-----------------------------------------------------------*/
229228

source/include/FreeRTOS_DNS.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extern const MACAddress_t xLLMNR_MacAddressIPv6;
4949

5050
#if ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
5151
/* The LLMNR IPv6 address is ff02::1:3 */
52-
extern const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6;
52+
extern const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6;
5353
#endif /* ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
5454

5555
/* The MDNS MAC address is 01:00:5e:00:00:fc */
@@ -65,7 +65,7 @@ extern const MACAddress_t xMDNS_MacAddressIPv6;
6565

6666
#if ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
6767
/* The MDNS IPv6 address is ff02::1:3 */
68-
extern const IPv6_Address_t ipMDNS_IP_ADDR_IPv6;
68+
extern const IPv6_Address_t ipMDNS_IP_ADDR_IPv6;
6969
#endif /* ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
7070

7171
/** @brief While doing integration tests, it is necessary to influence the choice

0 commit comments

Comments
 (0)