From 4f41891176b8be25a2b6efe2cb888802347112cc Mon Sep 17 00:00:00 2001 From: jcorgan Date: Tue, 19 May 2009 03:10:32 +0000 Subject: Updates to C++ and Python APIs: * C++: Adds usrp2::MC_* constants for config_mimo() call in libusrp2 * Python: Adds usrp2.config_mimo(), and usrp2.MC_* constants * Python: Adds usrp2.sync_every_pps() git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11050 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-usrp2/src/usrp2_base.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gr-usrp2/src/usrp2_base.cc') diff --git a/gr-usrp2/src/usrp2_base.cc b/gr-usrp2/src/usrp2_base.cc index 34492dc47..bb9959725 100644 --- a/gr-usrp2/src/usrp2_base.cc +++ b/gr-usrp2/src/usrp2_base.cc @@ -67,12 +67,24 @@ usrp2_base::fpga_master_clock_freq(long *freq) const return d_u2->fpga_master_clock_freq(freq); } +bool +usrp2_base::config_mimo(int flags) +{ + return d_u2->config_mimo(flags); +} + bool usrp2_base::sync_to_pps() { return d_u2->sync_to_pps(); } +bool +usrp2_base::sync_every_pps(bool enable) +{ + return d_u2->sync_every_pps(enable); +} + std::vector usrp2_base::peek32(uint32_t addr, uint32_t words) { -- cgit