commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: eb
Subject: [Commit-gnuradio] r8368 - usrp2/trunk/firmware/apps
Date: Sat, 10 May 2008 19:31:51 -0600 (MDT)

Author: eb
Date: 2008-05-10 19:31:50 -0600 (Sat, 10 May 2008)
New Revision: 8368

Modified:
   usrp2/trunk/firmware/apps/tx_only.c
Log:
debug

Modified: usrp2/trunk/firmware/apps/tx_only.c
===================================================================
--- usrp2/trunk/firmware/apps/tx_only.c 2008-05-10 23:38:39 UTC (rev 8367)
+++ usrp2/trunk/firmware/apps/tx_only.c 2008-05-11 01:31:50 UTC (rev 8368)
@@ -149,12 +149,13 @@
   ethernet_register_link_changed_callback(link_changed_callback);
   ethernet_init();
 
-#if 0
+#if 1
+  u2_fxpt_freq_t actual;
   bool ok = tx_dboard->set_freq(tx_dboard, U2_DOUBLE_TO_FXPT_FREQ(440e6), 
&actual);
   printf ("tune = %d, actual = %d\n", ok, u2_fxpt_freq_round_to_int(actual));
 #endif
 
-#if 1
+#if 0
   struct tune_result  r;
   u2_fxpt_freq_t target_freq = U2_DOUBLE_TO_FXPT_FREQ(441.123e6);
   bool ok = db_tune(tx_dboard, target_freq, &r);





reply via email to

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