commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8503 - usrp2/trunk/host/lib


From: eb
Subject: [Commit-gnuradio] r8503 - usrp2/trunk/host/lib
Date: Sun, 25 May 2008 22:03:50 -0600 (MDT)

Author: eb
Date: 2008-05-25 22:03:50 -0600 (Sun, 25 May 2008)
New Revision: 8503

Modified:
   usrp2/trunk/host/lib/usrp2_basic.cc
Log:
removed more debugging output to stdout

Modified: usrp2/trunk/host/lib/usrp2_basic.cc
===================================================================
--- usrp2/trunk/host/lib/usrp2_basic.cc 2008-05-26 03:56:43 UTC (rev 8502)
+++ usrp2/trunk/host/lib/usrp2_basic.cc 2008-05-26 04:03:50 UTC (rev 8503)
@@ -612,14 +612,14 @@
   // FIXME check channel
 
   if ((size_t) len < sizeof(u2_eth_packet_t)) {
-    printf("usrp2_basic::read_raw_samples: short read, len=%d\n", len);
+    fprintf(stderr, "usrp2_basic::read_raw_samples: short read, len=%d\n", 
len);
     return 0;
   }   
 
   int r = (len - sizeof(u2_eth_packet_t)) / sizeof(uint32_t);
   if (USRP2_BASIC_DEBUG)
-    printf("usrp2_basic::read_raw_samples: nmax=%d nmaxbytes=%d readsize=%d 
len=%d r=%d\n", 
-           nmax, nmaxbytes, readsize, len, r);
+    fprintf(stderr, "usrp2_basic::read_raw_samples: nmax=%d nmaxbytes=%d 
readsize=%d len=%d r=%d\n", 
+           nmax, nmaxbytes, readsize, len, r);
   return r;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]