commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10117 - gnuradio/trunk/usrp2/firmware/apps


From: jcorgan
Subject: [Commit-gnuradio] r10117 - gnuradio/trunk/usrp2/firmware/apps
Date: Sat, 13 Dec 2008 18:05:27 -0700 (MST)

Author: jcorgan
Date: 2008-12-13 18:05:27 -0700 (Sat, 13 Dec 2008)
New Revision: 10117

Modified:
   gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c
Log:
Fix failure with interp > 128

Modified: gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c
===================================================================
--- gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c  2008-12-14 01:01:11 UTC 
(rev 10116)
+++ gnuradio/trunk/usrp2/firmware/apps/app_common_v2.c  2008-12-14 01:05:27 UTC 
(rev 10117)
@@ -180,7 +180,7 @@
       interp = interp >> 1;
     }
     
-    if (p->interp < MIN_INTERP || p->interp > MAX_INTERP)
+    if (interp < MIN_INTERP || interp > MAX_INTERP)
       ok = false;
     else {
       dsp_tx_regs->interp_rate = (hb1<<9) | (hb2<<8) | interp;





reply via email to

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