Author: eb
Date: 2008-02-04 19:21:21 -0700 (Mon, 04 Feb 2008)
New Revision: 7560

Modified:
   gnuradio/branches/developers/eb/gcell/src/lib/spu/gc_delay.c
Log:
now calibrated within 1%

Modified: gnuradio/branches/developers/eb/gcell/src/lib/spu/gc_delay.c
===================================================================
--- gnuradio/branches/developers/eb/gcell/src/lib/spu/gc_delay.c        
2008-02-05 01:56:07 UTC (rev 7559)
+++ gnuradio/branches/developers/eb/gcell/src/lib/spu/gc_delay.c        
2008-02-05 02:21:21 UTC (rev 7560)
@@ -31,7 +31,7 @@
     asm ("nop $127; nop $127; nop $127; nop $127; nop $127");
     asm ("nop $127; nop $127; nop $127; nop $127; nop $127");
     asm ("nop $127; nop $127; nop $127; nop $127; nop $127");
-    asm ("nop $127; nop $127; nop $127");
+    asm ("nop $127; nop $127");
   } while(--i != 0);
 }
 
@@ -52,7 +52,7 @@
   cpu_cycles >>= 2;    // about 4 cycles / loop
 
   while (cpu_cycles-- != 0){
-    asm ("");          // keeps compiler from removing the loop
+    asm ("nop $127");  // keeps compiler from removing the loop
   }
 }
 



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to