diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-15 15:44:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-15 15:44:14 +0000 |
commit | e2af7aac95b860422eb445bc6e85e18eff118819 (patch) | |
tree | 4466048286266204110cf0a20931493391ef0f93 /nuttx/net/recvfrom.c | |
parent | a3f9769a1e25b60594eb5563779c53d602f25ddd (diff) | |
download | px4-nuttx-e2af7aac95b860422eb445bc6e85e18eff118819.tar.gz px4-nuttx-e2af7aac95b860422eb445bc6e85e18eff118819.tar.bz2 px4-nuttx-e2af7aac95b860422eb445bc6e85e18eff118819.zip |
Use lldbg() instead of dbg() in interrupt level logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2054 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/recvfrom.c')
-rw-r--r-- | nuttx/net/recvfrom.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/net/recvfrom.c b/nuttx/net/recvfrom.c index 2eaba9f13..5e6325659 100644 --- a/nuttx/net/recvfrom.c +++ b/nuttx/net/recvfrom.c @@ -129,7 +129,7 @@ static void recvfrom_newdata(struct uip_driver_s *dev, struct recvfrom_s *pstate /* Copy the new appdata into the user buffer */ memcpy(pstate->rf_buffer, dev->d_appdata, recvlen); - nvdbg("Received %d bytes (of %d)\n", (int)recvlen, (int)dev->d_len); + nllvdbg("Received %d bytes (of %d)\n", (int)recvlen, (int)dev->d_len); /* Update the accumulated size of the data read */ @@ -199,7 +199,7 @@ static inline void recvfrom_readahead(struct recvfrom_s *pstate) /* Copy the read-ahead data into the user buffer */ memcpy(pstate->rf_buffer, readahead->rh_buffer, recvlen); - nvdbg("Received %d bytes (of %d)\n", recvlen, readahead->rh_nbytes); + nllvdbg("Received %d bytes (of %d)\n", recvlen, readahead->rh_nbytes); /* Update the accumulated size of the data read */ @@ -363,7 +363,7 @@ static uint16 recvfrom_tcpinterrupt(struct uip_driver_s *dev, void *conn, { struct recvfrom_s *pstate = (struct recvfrom_s *)pvpriv; - nvdbg("flags: %04x\n", flags); + nllvdbg("flags: %04x\n", flags); /* 'priv' might be null in some race conditions (?) */ @@ -391,7 +391,7 @@ static uint16 recvfrom_tcpinterrupt(struct uip_driver_s *dev, void *conn, if (pstate->rf_buflen == 0) { - nvdbg("TCP resume\n"); + nllvdbg("TCP resume\n"); /* The TCP receive buffer is full. Return now, perhaps truncating * the received data (need to fix that). @@ -423,7 +423,7 @@ static uint16 recvfrom_tcpinterrupt(struct uip_driver_s *dev, void *conn, else if ((flags & (UIP_CLOSE|UIP_ABORT|UIP_TIMEDOUT)) != 0) { - nvdbg("error\n"); + nllvdbg("error\n"); /* Stop further callbacks */ @@ -451,7 +451,7 @@ static uint16 recvfrom_tcpinterrupt(struct uip_driver_s *dev, void *conn, * callbacks */ - nvdbg("TCP timeout\n"); + nllvdbg("TCP timeout\n"); pstate->rf_cb->flags = 0; pstate->rf_cb->priv = NULL; @@ -546,7 +546,7 @@ static uint16 recvfrom_udpinterrupt(struct uip_driver_s *dev, void *pvconn, { struct recvfrom_s *pstate = (struct recvfrom_s *)pvpriv; - nvdbg("flags: %04x\n", flags); + nllvdbg("flags: %04x\n", flags); /* 'priv' might be null in some race conditions (?) */ @@ -562,7 +562,7 @@ static uint16 recvfrom_udpinterrupt(struct uip_driver_s *dev, void *pvconn, /* We are finished. */ - nvdbg("UDP done\n"); + nllvdbg("UDP done\n"); /* Don't allow any further UDP call backs. */ @@ -589,7 +589,7 @@ static uint16 recvfrom_udpinterrupt(struct uip_driver_s *dev, void *pvconn, else if ((flags & (UIP_CLOSE|UIP_ABORT|UIP_TIMEDOUT)) != 0) { - nvdbg("error\n"); + nllvdbg("error\n"); /* Stop further callbacks */ @@ -617,7 +617,7 @@ static uint16 recvfrom_udpinterrupt(struct uip_driver_s *dev, void *pvconn, * callbacks */ - nvdbg("UDP timeout\n"); + nllvdbg("UDP timeout\n"); /* Stop further callbacks */ |