mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-03 20:55:18 +00:00
Use TCP_TMR_INTERVAL instead of hardcoded 100 as time value for mintapif_wait()
This commit is contained in:
parent
751297c61b
commit
dc6233a674
@ -82,7 +82,7 @@ main(int argc, char **argv)
|
||||
|
||||
while (1) {
|
||||
|
||||
if (mintapif_wait(netif, 100) == MINTAPIF_TIMEOUT) {
|
||||
if (mintapif_wait(netif, TCP_TMR_INTERVAL) == MINTAPIF_TIMEOUT) {
|
||||
tcp_tmr();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user