opt.h: more indent fixes, remove unnecessary brackets

This commit is contained in:
Simon Goldschmidt 2018-07-04 15:07:28 +02:00
parent dccdbdd309
commit 341623c8be

View File

@ -854,7 +854,7 @@
* ICMP_TTL: Default value for Time-To-Live used by ICMP packets. * ICMP_TTL: Default value for Time-To-Live used by ICMP packets.
*/ */
#if !defined ICMP_TTL || defined __DOXYGEN__ #if !defined ICMP_TTL || defined __DOXYGEN__
#define ICMP_TTL (IP_DEFAULT_TTL) #define ICMP_TTL IP_DEFAULT_TTL
#endif #endif
/** /**
@ -895,7 +895,7 @@
* LWIP_RAW==1: Enable application layer to hook into the IP layer itself. * LWIP_RAW==1: Enable application layer to hook into the IP layer itself.
*/ */
#if !defined RAW_TTL || defined __DOXYGEN__ #if !defined RAW_TTL || defined __DOXYGEN__
#define RAW_TTL (IP_DEFAULT_TTL) #define RAW_TTL IP_DEFAULT_TTL
#endif #endif
/** /**
* @} * @}
@ -927,7 +927,7 @@
* DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address. * DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
*/ */
#if !defined DHCP_DOES_ARP_CHECK || defined __DOXYGEN__ #if !defined DHCP_DOES_ARP_CHECK || defined __DOXYGEN__
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP)) #define DHCP_DOES_ARP_CHECK (LWIP_DHCP && LWIP_ARP)
#endif #endif
/** /**
@ -1201,7 +1201,7 @@
* UDP_TTL: Default Time-To-Live value. * UDP_TTL: Default Time-To-Live value.
*/ */
#if !defined UDP_TTL || defined __DOXYGEN__ #if !defined UDP_TTL || defined __DOXYGEN__
#define UDP_TTL (IP_DEFAULT_TTL) #define UDP_TTL IP_DEFAULT_TTL
#endif #endif
/** /**
@ -1235,7 +1235,7 @@
* TCP_TTL: Default Time-To-Live value. * TCP_TTL: Default Time-To-Live value.
*/ */
#if !defined TCP_TTL || defined __DOXYGEN__ #if !defined TCP_TTL || defined __DOXYGEN__
#define TCP_TTL (IP_DEFAULT_TTL) #define TCP_TTL IP_DEFAULT_TTL
#endif #endif
/** /**
@ -1268,7 +1268,7 @@
* Define to 0 if your device is low on memory. * Define to 0 if your device is low on memory.
*/ */
#if !defined TCP_QUEUE_OOSEQ || defined __DOXYGEN__ #if !defined TCP_QUEUE_OOSEQ || defined __DOXYGEN__
#define TCP_QUEUE_OOSEQ (LWIP_TCP) #define TCP_QUEUE_OOSEQ LWIP_TCP
#endif #endif
/** /**
@ -2432,7 +2432,7 @@
* LWIP_IPV6_REASS==1: reassemble incoming IPv6 packets that fragmented * LWIP_IPV6_REASS==1: reassemble incoming IPv6 packets that fragmented
*/ */
#if !defined LWIP_IPV6_REASS || defined __DOXYGEN__ #if !defined LWIP_IPV6_REASS || defined __DOXYGEN__
#define LWIP_IPV6_REASS (LWIP_IPV6) #define LWIP_IPV6_REASS LWIP_IPV6
#endif #endif
/** /**
@ -2447,7 +2447,7 @@
* LWIP_IPV6_AUTOCONFIG==1: Enable stateless address autoconfiguration as per RFC 4862. * LWIP_IPV6_AUTOCONFIG==1: Enable stateless address autoconfiguration as per RFC 4862.
*/ */
#if !defined LWIP_IPV6_AUTOCONFIG || defined __DOXYGEN__ #if !defined LWIP_IPV6_AUTOCONFIG || defined __DOXYGEN__
#define LWIP_IPV6_AUTOCONFIG (LWIP_IPV6) #define LWIP_IPV6_AUTOCONFIG LWIP_IPV6
#endif #endif
/** /**
@ -2458,7 +2458,7 @@
* If this option is disabled, all addresses are assumed to be static. * If this option is disabled, all addresses are assumed to be static.
*/ */
#if !defined LWIP_IPV6_ADDRESS_LIFETIMES || defined __DOXYGEN__ #if !defined LWIP_IPV6_ADDRESS_LIFETIMES || defined __DOXYGEN__
#define LWIP_IPV6_ADDRESS_LIFETIMES (LWIP_IPV6_AUTOCONFIG) #define LWIP_IPV6_ADDRESS_LIFETIMES LWIP_IPV6_AUTOCONFIG
#endif #endif
/** /**
@ -2480,7 +2480,7 @@
* LWIP_ICMP6==1: Enable ICMPv6 (mandatory per RFC) * LWIP_ICMP6==1: Enable ICMPv6 (mandatory per RFC)
*/ */
#if !defined LWIP_ICMP6 || defined __DOXYGEN__ #if !defined LWIP_ICMP6 || defined __DOXYGEN__
#define LWIP_ICMP6 (LWIP_IPV6) #define LWIP_ICMP6 LWIP_IPV6
#endif #endif
/** /**
@ -2512,7 +2512,7 @@
* indiscriminately pass all inbound IPv6 multicast traffic to lwIP. * indiscriminately pass all inbound IPv6 multicast traffic to lwIP.
*/ */
#if !defined LWIP_IPV6_MLD || defined __DOXYGEN__ #if !defined LWIP_IPV6_MLD || defined __DOXYGEN__
#define LWIP_IPV6_MLD (LWIP_IPV6) #define LWIP_IPV6_MLD LWIP_IPV6
#endif #endif
/** /**
@ -2538,7 +2538,7 @@
* is being resolved. * is being resolved.
*/ */
#if !defined LWIP_ND6_QUEUEING || defined __DOXYGEN__ #if !defined LWIP_ND6_QUEUEING || defined __DOXYGEN__
#define LWIP_ND6_QUEUEING (LWIP_IPV6) #define LWIP_ND6_QUEUEING LWIP_IPV6
#endif #endif
/** /**