Call tcp_timer_needed() with NO_SYS==1, too

This commit is contained in:
goldsimon
2010-01-07 09:47:30 +00:00
parent cfe4a12a46
commit cce192a671
3 changed files with 3 additions and 6 deletions

View File

@@ -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