[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r6365 - gnuradio/branches/developers/gnychis/inband/us
From: |
gnychis |
Subject: |
[Commit-gnuradio] r6365 - gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband |
Date: |
Sat, 8 Sep 2007 11:40:01 -0600 (MDT) |
Author: gnychis
Date: 2007-09-08 11:40:00 -0600 (Sat, 08 Sep 2007)
New Revision: 6365
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
Log:
Small hack to prevent USB error
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
2007-09-08 06:26:17 UTC (rev 6364)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
2007-09-08 17:40:00 UTC (rev 6365)
@@ -129,7 +129,7 @@
d_rx_chan(PMT_NIL),
d_which_usrp(pmt_from_long(0)),
d_state(INIT),
- d_nsamples_to_send((long) 10e6),
+ d_nsamples_to_send((long) 20e6),
d_nsamples_xmitted(0),
d_nframes_xmitted(0),
d_samples_per_frame(d_nsamples_to_send), // full packet
@@ -150,7 +150,7 @@
// Set TX and RX interpolations
pmt_dict_set(usrp_dict,
pmt_intern("interp-tx"),
- pmt_from_long(64));
+ pmt_from_long(8));
pmt_dict_set(usrp_dict,
pmt_intern("interp-rx"),
@@ -670,6 +670,8 @@
{
d_state = CLOSING_USRP;
+ sleep(2);
+
d_cs->send(s_cmd_close, pmt_list1(PMT_NIL));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r6365 - gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband,
gnychis <=