diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-01 20:56:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-01 20:56:19 +0000 |
commit | 279136fd239ad7bb378b0dae01fe8f109e463c4f (patch) | |
tree | 637beec01acf76a0c8926d8de422b642c11bfe89 /nuttx/arch | |
parent | 5d303ec17efc511d8cfe0919a790b44e24a8aad9 (diff) | |
download | px4-nuttx-279136fd239ad7bb378b0dae01fe8f109e463c4f.tar.gz px4-nuttx-279136fd239ad7bb378b0dae01fe8f109e463c4f.tar.bz2 px4-nuttx-279136fd239ad7bb378b0dae01fe8f109e463c4f.zip |
Adding socket(), bind() logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@319 42af7a65-404d-4744-a932-0658087f49c3
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. */ |