diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-08 15:56:46 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:33 -0800 |
commit | 14fb3cc6f4c63303a7f35b81087c31eb494f7166 (patch) | |
tree | 9a157743854ff731cf6443dce4fe3c6a465627b0 /mpm/include | |
parent | d60e4d87d8e83cc7810af2b8a9e01147096b3475 (diff) | |
download | uhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.tar.gz uhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.tar.bz2 uhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.zip |
e310: Fix issues in MPM and UHD
- Remove superfluous INFO logging
- Improve formatting in many places
- Improve Pylint score in various places
- Add tear_down to DB object
- Simplify custom EEPROM code for E310
- Fix time source selection code
- Remove references to GPS_CTRL and GPS_STATUS (are E320 only)
- Move clock source control out of MboardRegs object
Diffstat (limited to 'mpm/include')
-rw-r--r-- | mpm/include/mpm/dboards/e31x_db_manager.hpp | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/mpm/include/mpm/dboards/e31x_db_manager.hpp b/mpm/include/mpm/dboards/e31x_db_manager.hpp index 8777778e9..3a91ff90d 100644 --- a/mpm/include/mpm/dboards/e31x_db_manager.hpp +++ b/mpm/include/mpm/dboards/e31x_db_manager.hpp @@ -8,25 +8,29 @@ #pragma once #include <mpm/ad9361/ad9361_ctrl.hpp> -#include <mpm/types/lockable.hpp> #include <mpm/types/regs_iface.hpp> -#include <boost/shared_ptr.hpp> #include <memory> #include <mutex> namespace mpm { namespace dboards { - class e31x_db_manager - { - public: - e31x_db_manager(const std::string &catalina_spidev); - /*! Return a reference to the radio chip controls - */ - mpm::chips::ad9361_ctrl::sptr get_radio_ctrl(){ return _catalina_ctrl; } +/*! Container for the E310s AD9361 access + */ +class e31x_db_manager +{ +public: + e31x_db_manager(const std::string& catalina_spidev); + + /*! Return a reference to the RFIC controls + */ + mpm::chips::ad9361_ctrl::sptr get_radio_ctrl() + { + return _catalina_ctrl; + } - private: - mpm::chips::ad9361_ctrl::sptr _catalina_ctrl; - }; +private: + mpm::chips::ad9361_ctrl::sptr _catalina_ctrl; +}; }}; /* namespace mpm::dboards */ |