From 8176675bcd887d760cc2413f9326d5515641d800 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Thu, 18 Nov 2010 12:51:45 -0800 Subject: Changing time pair in uhd source from a pmt pair to tuple. --- gr-uhd/lib/uhd_single_usrp_source.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gr-uhd') 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; -- cgit