Skip to content

Commit 69be879

Browse files
committed
Apply formating changes
1 parent 030bd55 commit 69be879

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

source/FreeRTOS_IPv4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282

8383
/* Map the buffer onto a IP-Packet struct to easily access the
8484
* fields of the IP packet. */
85-
const IPPacket_t * const pxIPPacket = ( ( const IPPacket_t *) pvEthernetBuffer );
85+
const IPPacket_t * const pxIPPacket = ( ( const IPPacket_t * ) pvEthernetBuffer );
8686

8787
DEBUG_DECLARE_TRACE_VARIABLE( BaseType_t, xLocation, 0 );
8888

source/FreeRTOS_IPv6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ const struct xIPv6_Address FreeRTOS_in6addr_loopback = { { 0U, 0U, 0U, 0U, 0U, 0
9999
size_t uxMinimumLength;
100100
size_t uxExtHeaderLength = 0;
101101
const IPExtHeader_IPv6_t * pxExtHeader = NULL;
102-
const uint8_t * const pucEthernetBuffer = ( const uint8_t *) pvEthernetBuffer;
102+
const uint8_t * const pucEthernetBuffer = ( const uint8_t * ) pvEthernetBuffer;
103103

104104
/* Map the buffer onto a IPv6-Packet struct to easily access the
105105
* fields of the IPv6 packet. */
106-
const IPPacket_IPv6_t * const pxIPv6Packet = ( const IPPacket_IPv6_t *) pucEthernetBuffer;
106+
const IPPacket_IPv6_t * const pxIPv6Packet = ( const IPPacket_IPv6_t * ) pucEthernetBuffer;
107107

108108
DEBUG_DECLARE_TRACE_VARIABLE( BaseType_t, xLocation, 0 );
109109

source/FreeRTOS_RA.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,13 @@
329329

330330
case ndICMP_MTU_OPTION: /* 5 */
331331
{
332-
#if ipconfigHAS_PRINTF == 1
333-
uint32_t ulMTU;
334-
( void ) ulMTU;
332+
#if ipconfigHAS_PRINTF == 1
333+
uint32_t ulMTU;
334+
( void ) ulMTU;
335335

336-
/* ulChar2u32 returns host-endian numbers. */
337-
ulMTU = ulChar2u32( &( pucBytes[ uxIndex + 4U ] ) );
338-
FreeRTOS_printf( ( "RA: MTU = %u\n", ( unsigned int ) ulMTU ) );
336+
/* ulChar2u32 returns host-endian numbers. */
337+
ulMTU = ulChar2u32( &( pucBytes[ uxIndex + 4U ] ) );
338+
FreeRTOS_printf( ( "RA: MTU = %u\n", ( unsigned int ) ulMTU ) );
339339
#endif /* ipconfigHAS_PRINTF == 1 */
340340
}
341341
break;

0 commit comments

Comments
 (0)