From 23cf45d252bebdcf7d0db0e09386adf91a64e90f Mon Sep 17 00:00:00 2001 From: sg Date: Wed, 27 Jul 2016 21:48:29 +0200 Subject: [PATCH] d'oh! (fixed messed-up timeouts.h) --- src/core/timeouts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/timeouts.c b/src/core/timeouts.c index 6c692ccc..fcba0a1a 100644 --- a/src/core/timeouts.c +++ b/src/core/timeouts.c @@ -106,7 +106,7 @@ const struct lwip_cyclic_timer lwip_cyclic_timers[] = { #endif /* LWIP_IPV6 */ }; -#if LWIP_TIMERS && LWIP_TIMERS_CUSTOM +#if LWIP_TIMERS && !LWIP_TIMERS_CUSTOM /** The one and only timeout list */ static struct sys_timeo *next_timeout; @@ -426,10 +426,10 @@ again: #endif /* NO_SYS */ -#else /* LWIP_TIMERS && LWIP_TIMERS_CUSTOM */ +#else /* LWIP_TIMERS && !LWIP_TIMERS_CUSTOM */ /* Satisfy the TCP code which calls this function */ void tcp_timer_needed(void) { } -#endif /* LWIP_TIMERS && LWIP_TIMERS_CUSTOM */ +#endif /* LWIP_TIMERS && !LWIP_TIMERS_CUSTOM */