diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-06 19:58:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-06 19:58:14 +0000 |
commit | 7a21220ebd5cef442fb059c90e18ff90232d8dc9 (patch) | |
tree | 38277e8efa923112be23e9a0554313c0927f02e2 /nuttx/net/uip/uip-poll.c | |
parent | 4fc87116d818f5285403dbb37d2aa60d33e4203a (diff) | |
download | px4-nuttx-7a21220ebd5cef442fb059c90e18ff90232d8dc9.tar.gz px4-nuttx-7a21220ebd5cef442fb059c90e18ff90232d8dc9.tar.bz2 px4-nuttx-7a21220ebd5cef442fb059c90e18ff90232d8dc9.zip |
Verified basic client-side network functionalitynuttx-3.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@373 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/uip/uip-poll.c')
-rw-r--r-- | nuttx/net/uip/uip-poll.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/net/uip/uip-poll.c b/nuttx/net/uip/uip-poll.c index b61eb32aa..22a641ce1 100644 --- a/nuttx/net/uip/uip-poll.c +++ b/nuttx/net/uip/uip-poll.c @@ -95,9 +95,9 @@ static inline void uip_udppoll(struct uip_driver_s *dev, unsigned int conn) * suplied function returns a non-zero value (which is would do only if * it cannot accept further write data). * - * This function should be called periodically with event == UIP_TIMER for - * periodic processing. This function may also be called with UIP_POLL to - * perform necessary periodic processing of TCP connections. + * This function should be called periodically with event == UIP_DRV_TIMER + * to perform period TCP processing. This function may also be called + * with UIP_DRV_POLL obtain queue TX data. * * When the callback function is called, there may be an outbound packet * waiting for service in the uIP packet buffer, and if so the d_len field @@ -144,7 +144,7 @@ int uip_poll(struct uip_driver_s *dev, uip_poll_callback_t callback, int event) while ((udp_conn = uip_nextudpconn(udp_conn))) { uip_udp_conn = udp_conn; - uip_interrupt(dev, UIP_UDP_POLL); + uip_interrupt(dev, UIP_DRV_UDPPOLL); if (callback(dev)) { irqrestore(flags); |