Skip to content

Commit

Permalink
chore: Run new clang-format on the files
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoekes committed Jan 5, 2025
1 parent dc18ed1 commit 759a3df
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 260 deletions.
23 changes: 16 additions & 7 deletions lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@
#define LWIP_ALTCP_TLS 1
#define LWIP_ALTCP_TLS_MBEDTLS 1

// Bogus aligned value
#define CLANG_ALIGNMENT_1__________ 1

// allow override in some examples
#ifndef NO_SYS
#define NO_SYS 1
# define NO_SYS 1
#endif
// allow override in some examples
#ifndef LWIP_SOCKET
#define LWIP_SOCKET 0
# define LWIP_SOCKET 0
#endif
#if PICO_CYW43_ARCH_POLL
#define MEM_LIBC_MALLOC 1
# define MEM_LIBC_MALLOC 1
#else
// MEM_LIBC_MALLOC is incompatible with non polling versions
#define MEM_LIBC_MALLOC 0
# define MEM_LIBC_MALLOC 0
#endif
#define MEM_ALIGNMENT 4
#define MEM_SIZE 4000
Expand Down Expand Up @@ -63,10 +66,13 @@
#define DHCP_DOES_ARP_CHECK 0
#define LWIP_DHCP_DOES_ACD_CHECK 0

// Bogus aligned value
#define CLANG_ALIGNMENT_2__________ 2

#ifndef NDEBUG
#define LWIP_DEBUG 1
#define LWIP_STATS 1
#define LWIP_STATS_DISPLAY 1
# define LWIP_DEBUG 1
# define LWIP_STATS 1
# define LWIP_STATS_DISPLAY 1
#endif

#define ETHARP_DEBUG LWIP_DBG_OFF
Expand Down Expand Up @@ -98,4 +104,7 @@
#define SLIP_DEBUG LWIP_DBG_OFF
#define DHCP_DEBUG LWIP_DBG_OFF

// Bogus aligned value
#define CLANG_ALIGNMENT_3__________ 3

#endif /* __LWIPOPTS_H__ */
Loading

0 comments on commit 759a3df

Please sign in to comment.