removed debugging printf

This commit is contained in:
matsutsuka 2007-09-08 16:12:54 +00:00
parent 4cd7302ecb
commit 8fd76351eb

View file

@ -30,7 +30,7 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: psock.c,v 1.3 2007/09/08 15:32:30 matsutsuka Exp $ * $Id: psock.c,v 1.4 2007/09/08 16:12:54 matsutsuka Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -306,9 +306,6 @@ PT_THREAD(psock_readbuf(CC_REGISTER_ARG struct psock *psock))
do { do {
if(psock->readlen == 0) { if(psock->readlen == 0) {
PT_WAIT_UNTIL(&psock->psockpt, psock_newdata(psock)); PT_WAIT_UNTIL(&psock->psockpt, psock_newdata(psock));
#if LOG_CONF_ENABLED
printf("Waited for newdata\n");
#endif
psock->state = STATE_READ; psock->state = STATE_READ;
psock->readptr = (u8_t *)uip_appdata; psock->readptr = (u8_t *)uip_appdata;
psock->readlen = uip_datalen(); psock->readlen = uip_datalen();