From 14fb3cc6f4c63303a7f35b81087c31eb494f7166 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Nov 2019 15:56:46 -0800 Subject: 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 --- mpm/include/mpm/dboards/e31x_db_manager.hpp | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'mpm/include') 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 -#include #include -#include #include #include 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 */ -- cgit v1.2.3