diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2019-08-01 18:55:38 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:25 -0800 |
commit | d420f4968f7bd78afa4f27aaf5abcf26d0f61f4c (patch) | |
tree | 5ec79590724b220c8d99d8e60d49cd503e5a551b /host/lib/include/uhdlib | |
parent | 5072a0f7b6bfacb18d7a7918a843c1da11447612 (diff) | |
download | uhd-d420f4968f7bd78afa4f27aaf5abcf26d0f61f4c.tar.gz uhd-d420f4968f7bd78afa4f27aaf5abcf26d0f61f4c.tar.bz2 uhd-d420f4968f7bd78afa4f27aaf5abcf26d0f61f4c.zip |
tx_fe_200: make register offset controllable
Following the changes in RX frontend controls, TX frontend register
offsets are now arguments to the factory function. They default to 4,
which is what the register offset was in the file before these changes.
Diffstat (limited to 'host/lib/include/uhdlib')
-rw-r--r-- | host/lib/include/uhdlib/usrp/cores/tx_frontend_core_200.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/include/uhdlib/usrp/cores/tx_frontend_core_200.hpp b/host/lib/include/uhdlib/usrp/cores/tx_frontend_core_200.hpp index 0221007d1..ae071c715 100644 --- a/host/lib/include/uhdlib/usrp/cores/tx_frontend_core_200.hpp +++ b/host/lib/include/uhdlib/usrp/cores/tx_frontend_core_200.hpp @@ -25,7 +25,7 @@ public: virtual ~tx_frontend_core_200(void) = 0; - static sptr make(uhd::wb_iface::sptr iface, const size_t base); + static sptr make(uhd::wb_iface::sptr iface, const size_t base, const size_t offset=4); virtual void set_mux(const std::string &mode) = 0; |