commit-gnuradio
[Top][All Lists]
Advanced

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

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


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

Author: eb
Date: 2008-05-25 22:23:44 -0600 (Sun, 25 May 2008)
New Revision: 8504

Modified:
   usrp2/trunk/host/lib/sample_buffer.h
Log:
fixed precedence problem

Modified: usrp2/trunk/host/lib/sample_buffer.h
===================================================================
--- usrp2/trunk/host/lib/sample_buffer.h        2008-05-26 04:03:50 UTC (rev 
8503)
+++ usrp2/trunk/host/lib/sample_buffer.h        2008-05-26 04:23:44 UTC (rev 
8504)
@@ -74,7 +74,7 @@
    * Returns true if there is either no space available for samples OR there
    * is no space available for enqueuing descriptors.
    */
-  bool is_full_p() const { return d_descs.space_available() == 0 |
+  bool is_full_p() const { return d_descs.space_available() == 0 ||
                                   d_samples.space_available() == 0; }
 
   /*!





reply via email to

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