Skip to content

Commit 30c8b4b

Browse files
Uncrustify the header files v2
1 parent 41a8d10 commit 30c8b4b

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

include/FreeRTOS_ARP.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949

5050
typedef enum
5151
{
52-
eARPCacheMiss = 0, /* 0 An ARP table lookup did not find a valid entry. */
53-
eARPCacheHit, /* 1 An ARP table lookup found a valid entry. */
54-
eCantSendPacket /* 2 There is no IP address, or an ARP is still in progress, so the packet cannot be sent. */
52+
eARPCacheMiss = 0, /* 0 An ARP table lookup did not find a valid entry. */
53+
eARPCacheHit, /* 1 An ARP table lookup found a valid entry. */
54+
eCantSendPacket /* 2 There is no IP address, or an ARP is still in progress, so the packet cannot be sent. */
5555
} eARPLookupResult_t;
5656

5757
/*

include/FreeRTOS_IP_Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ socket events. */
681681
#endif /* ipconfigUSE_TCP_WIN */
682682
/* Buffer space to store the last TCP header received. */
683683
LastTCPPacket_t xPacket;
684-
uint8_t tcpflags; /* TCP flags */
684+
uint8_t tcpflags; /* TCP flags */
685685
#if ( ipconfigUSE_TCP_WIN != 0 )
686686
uint8_t ucMyWinScaleFactor;
687687
uint8_t ucPeerWinScaleFactor;

include/FreeRTOS_TCP_WIN.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@
127127
List_t xRxSegments; /* A linked list of reception segments, order depends on sequence of arrival */
128128
#else
129129
/* For tiny TCP, there is only 1 outstanding TX segment */
130-
TCPSegment_t xTxSegment; /* Priority queue */
130+
TCPSegment_t xTxSegment; /* Priority queue */
131131
#endif
132-
uint16_t usOurPortNumber; /* Mostly for debugging/logging: our TCP port number */
133-
uint16_t usPeerPortNumber; /* debugging/logging: the peer's TCP port number */
134-
uint16_t usMSS; /* Current accepted MSS */
135-
uint16_t usMSSInit; /* MSS as configured by the socket owner */
132+
uint16_t usOurPortNumber; /* Mostly for debugging/logging: our TCP port number */
133+
uint16_t usPeerPortNumber; /* debugging/logging: the peer's TCP port number */
134+
uint16_t usMSS; /* Current accepted MSS */
135+
uint16_t usMSSInit; /* MSS as configured by the socket owner */
136136
} TCPWindow_t;
137137

138138

portable/NetworkInterface/M487/m480_eth.h

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

9797

9898
/* Frame Descriptor's Owner bit */
99-
#define OWNERSHIP_EMAC 0x80000000/* 1 = EMAC */
99+
#define OWNERSHIP_EMAC 0x80000000 /* 1 = EMAC */
100100
/*#define OWNERSHIP_CPU 0x7fffffff // 0 = CPU */
101101

102102

portable/NetworkInterface/STM32Fxx/stm32fxx_hal_eth.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -480,16 +480,16 @@
480480
*/
481481
typedef enum
482482
{
483-
HAL_ETH_STATE_RESET = 0x00U, /*!< Peripheral not yet Initialized or disabled */
484-
HAL_ETH_STATE_READY = 0x01U, /*!< Peripheral Initialized and ready for use */
485-
HAL_ETH_STATE_BUSY = 0x02U, /*!< an internal process is ongoing */
486-
HAL_ETH_STATE_BUSY_TX = 0x12U, /*!< Data Transmission process is ongoing */
487-
HAL_ETH_STATE_BUSY_RX = 0x22U, /*!< Data Reception process is ongoing */
488-
HAL_ETH_STATE_BUSY_TX_RX = 0x32U, /*!< Data Transmission and Reception process is ongoing */
489-
HAL_ETH_STATE_BUSY_WR = 0x42U, /*!< Write process is ongoing */
490-
HAL_ETH_STATE_BUSY_RD = 0x82U, /*!< Read process is ongoing */
491-
HAL_ETH_STATE_TIMEOUT = 0x03U, /*!< Timeout state */
492-
HAL_ETH_STATE_ERROR = 0x04U /*!< Reception process is ongoing */
483+
HAL_ETH_STATE_RESET = 0x00U, /*!< Peripheral not yet Initialized or disabled */
484+
HAL_ETH_STATE_READY = 0x01U, /*!< Peripheral Initialized and ready for use */
485+
HAL_ETH_STATE_BUSY = 0x02U, /*!< an internal process is ongoing */
486+
HAL_ETH_STATE_BUSY_TX = 0x12U, /*!< Data Transmission process is ongoing */
487+
HAL_ETH_STATE_BUSY_RX = 0x22U, /*!< Data Reception process is ongoing */
488+
HAL_ETH_STATE_BUSY_TX_RX = 0x32U, /*!< Data Transmission and Reception process is ongoing */
489+
HAL_ETH_STATE_BUSY_WR = 0x42U, /*!< Write process is ongoing */
490+
HAL_ETH_STATE_BUSY_RD = 0x82U, /*!< Read process is ongoing */
491+
HAL_ETH_STATE_TIMEOUT = 0x03U, /*!< Timeout state */
492+
HAL_ETH_STATE_ERROR = 0x04U /*!< Reception process is ongoing */
493493
} HAL_ETH_StateTypeDef;
494494

495495
/**
@@ -704,13 +704,13 @@
704704
uint32_t Buffer2NextDescAddr; /*!< Buffer2 or next descriptor address pointer */
705705

706706
/*!< Enhanced Ethernet DMA PTP Descriptors */
707-
uint32_t ExtendedStatus; /*!< Extended status for PTP receive descriptor */
707+
uint32_t ExtendedStatus; /*!< Extended status for PTP receive descriptor */
708708

709-
uint32_t Reserved1; /*!< Reserved */
709+
uint32_t Reserved1; /*!< Reserved */
710710

711-
uint32_t TimeStampLow; /*!< Time Stamp Low value for transmit and receive */
711+
uint32_t TimeStampLow; /*!< Time Stamp Low value for transmit and receive */
712712

713-
uint32_t TimeStampHigh; /*!< Time Stamp High value for transmit and receive */
713+
uint32_t TimeStampHigh; /*!< Time Stamp High value for transmit and receive */
714714
} ETH_DMADescTypeDef;
715715

716716

portable/NetworkInterface/Zynq/x_emacpsif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include "xil_cache.h"
3737
#include "xuartps.h"
3838
#include "xscugic.h"
39-
#include "xemacps.h" /* defines XEmacPs API */
39+
#include "xemacps.h" /* defines XEmacPs API */
4040

4141
/*#include "netif/xpqueue.h" */
4242
/*#include "xlwipconfig.h" */

0 commit comments

Comments
 (0)