d'oh! (fixed messed-up timeouts.h)

This commit is contained in:
sg 2016-07-27 21:48:29 +02:00
parent 56102c1b1c
commit 23cf45d252

View File

@ -106,7 +106,7 @@ const struct lwip_cyclic_timer lwip_cyclic_timers[] = {
#endif /* LWIP_IPV6 */ #endif /* LWIP_IPV6 */
}; };
#if LWIP_TIMERS && LWIP_TIMERS_CUSTOM #if LWIP_TIMERS && !LWIP_TIMERS_CUSTOM
/** The one and only timeout list */ /** The one and only timeout list */
static struct sys_timeo *next_timeout; static struct sys_timeo *next_timeout;
@ -426,10 +426,10 @@ again:
#endif /* NO_SYS */ #endif /* NO_SYS */
#else /* LWIP_TIMERS && LWIP_TIMERS_CUSTOM */ #else /* LWIP_TIMERS && !LWIP_TIMERS_CUSTOM */
/* Satisfy the TCP code which calls this function */ /* Satisfy the TCP code which calls this function */
void void
tcp_timer_needed(void) tcp_timer_needed(void)
{ {
} }
#endif /* LWIP_TIMERS && LWIP_TIMERS_CUSTOM */ #endif /* LWIP_TIMERS && !LWIP_TIMERS_CUSTOM */