summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps/serdes_txrx.c
diff options
context:
space:
mode:
authoreb2008-10-27 16:36:52 +0000
committereb2008-10-27 16:36:52 +0000
commit0e7c3883b04cb0fb1f848f6f3482352d6a47cb9d (patch)
tree06d3a0a60c2b9f9677acef8acdfc5e6ded0d5a0c /usrp2/firmware/apps/serdes_txrx.c
parentd4bcd458da9a26d8f272447af6e7d35f3c9101d4 (diff)
downloadgnuradio-0e7c3883b04cb0fb1f848f6f3482352d6a47cb9d.tar.gz
gnuradio-0e7c3883b04cb0fb1f848f6f3482352d6a47cb9d.tar.bz2
gnuradio-0e7c3883b04cb0fb1f848f6f3482352d6a47cb9d.zip
Fix (actually a bit of a kludge) for the frequency setting while
streaming problem. You can now set the frequency in usrp2_fft.py while streaming without dying :-) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9878 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps/serdes_txrx.c')
-rw-r--r--usrp2/firmware/apps/serdes_txrx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usrp2/firmware/apps/serdes_txrx.c b/usrp2/firmware/apps/serdes_txrx.c
index 8f28a84f1..3112829ab 100644
--- a/usrp2/firmware/apps/serdes_txrx.c
+++ b/usrp2/firmware/apps/serdes_txrx.c
@@ -124,11 +124,12 @@ static unsigned int streaming_items_per_frame = 0;
static int streaming_frame_count = 0;
#define FRAMES_PER_CMD 1000
+bool is_streaming(void){ return streaming_p; }
// ----------------------------------------------------------------
-static void
+void
restart_streaming(void)
{
// setup RX DSP regs