summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorTom Rondeau2010-11-18 12:51:45 -0800
committerTom Rondeau2010-11-18 12:51:45 -0800
commit8176675bcd887d760cc2413f9326d5515641d800 (patch)
treeeb5fa95162f617cad862d01f8eeb3d65b2b8134c /gr-uhd
parent2ce754d59c537b0ca395442a94c908f2b8b3dd58 (diff)
downloadgnuradio-8176675bcd887d760cc2413f9326d5515641d800.tar.gz
gnuradio-8176675bcd887d760cc2413f9326d5515641d800.tar.bz2
gnuradio-8176675bcd887d760cc2413f9326d5515641d800.zip
Changing time pair in uhd source from a pmt pair to tuple.
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/lib/uhd_single_usrp_source.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/lib/uhd_single_usrp_source.cc b/gr-uhd/lib/uhd_single_usrp_source.cc
index 6ea7c8af6..cdb25919e 100644
--- a/gr-uhd/lib/uhd_single_usrp_source.cc
+++ b/gr-uhd/lib/uhd_single_usrp_source.cc
@@ -32,7 +32,7 @@ uhd_single_usrp_source::uhd_single_usrp_source(gr_io_signature_sptr sig)
:gr_sync_block("uhd single_usrp source", gr_make_io_signature(0, 0, 0), sig)
{
d_num_packet_samps = 0;
- d_tstamp_pair = pmt::pmt_cons(pmt::mp(0), pmt::mp(0));
+ d_tstamp_pair = pmt::mp(pmt::mp(0), pmt::mp(0));
}
/***********************************************************************
@@ -147,8 +147,8 @@ public:
//keep track of the number of accumulated samples in this packet
if (metadata.fragment_offset == 0) {
d_num_packet_samps = 0;
- d_tstamp_pair = pmt::pmt_cons(pmt::mp(metadata.time_spec.get_full_secs()),
- pmt::mp(metadata.time_spec.get_frac_secs()));
+ d_tstamp_pair = pmt::mp(pmt::mp(metadata.time_spec.get_full_secs()),
+ pmt::mp(metadata.time_spec.get_frac_secs()));
}
d_num_packet_samps += num_samps;