mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
Call tcp_timer_needed() with NO_SYS==1, too
This commit is contained in:
parent
cfe4a12a46
commit
cce192a671
@ -33,6 +33,9 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2010-01-07: Simon Goldschmidt
|
||||
* timers.c, tcp.h: Call tcp_timer_needed() with NO_SYS==1, too
|
||||
|
||||
2010-01-06: Simon Goldschmidt
|
||||
* netdb.h: Fixed bug #28496: missing include guards in netdb.h
|
||||
|
||||
|
@ -87,7 +87,6 @@ tcpip_tcp_timer(void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
#if !NO_SYS
|
||||
/**
|
||||
* Called from TCP_REG when registering a new PCB:
|
||||
* the reason is to have the TCP timer only running when
|
||||
@ -103,7 +102,6 @@ tcp_timer_needed(void)
|
||||
sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL);
|
||||
}
|
||||
}
|
||||
#endif /* !NO_SYS */
|
||||
#endif /* LWIP_TCP */
|
||||
|
||||
#if IP_REASSEMBLY
|
||||
|
@ -610,11 +610,7 @@ s16_t tcp_pcbs_sane(void);
|
||||
# define tcp_pcbs_sane() 1
|
||||
#endif /* TCP_DEBUG */
|
||||
|
||||
#if NO_SYS
|
||||
#define tcp_timer_needed()
|
||||
#else
|
||||
void tcp_timer_needed(void);
|
||||
#endif
|
||||
|
||||
/* The TCP PCB lists. */
|
||||
union tcp_listen_pcbs_t { /* List of all TCP PCBs in LISTEN state. */
|
||||
|
Loading…
Reference in New Issue
Block a user