diff options
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sim/src/up_uipdriver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sim/src/up_uipdriver.c b/nuttx/arch/sim/src/up_uipdriver.c index 5309b89c4..ea6d349ae 100644 --- a/nuttx/arch/sim/src/up_uipdriver.c +++ b/nuttx/arch/sim/src/up_uipdriver.c @@ -159,7 +159,7 @@ void uipdriver_loop(void) } } -#if UIP_UDP +#ifdef CONFIG_NET_UDP for(i = 0; i < UIP_UDP_CONNS; i++) { uip_udp_periodic(i); @@ -175,7 +175,7 @@ void uipdriver_loop(void) tapdev_send((char*)uip_buf, uip_len); } } -#endif /* UIP_UDP */ +#endif /* CONFIG_NET_UDP */ /* Call the ARP timer function every 10 seconds. */ |