diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-03-02 15:25:13 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-03-03 08:51:32 -0600 |
commit | 876d4150aa3da531ddd687b48afada6e43f79146 (patch) | |
tree | fd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/lib/usrp/x300/x300_mb_controller.hpp | |
parent | 1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff) | |
download | uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2 uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip |
uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
Diffstat (limited to 'host/lib/usrp/x300/x300_mb_controller.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_mb_controller.hpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_mb_controller.hpp b/host/lib/usrp/x300/x300_mb_controller.hpp index 92844f1b9..f33d629c7 100644 --- a/host/lib/usrp/x300/x300_mb_controller.hpp +++ b/host/lib/usrp/x300/x300_mb_controller.hpp @@ -54,17 +54,26 @@ public: } //! Reference to the ZPU peek/poke interface - uhd::wb_iface::sptr get_zpu_ctrl() { return _zpu_ctrl; } + uhd::wb_iface::sptr get_zpu_ctrl() + { + return _zpu_ctrl; + } //! Return reference to LMK clock controller - x300_clock_ctrl::sptr get_clock_ctrl() { return _clock_ctrl; } + x300_clock_ctrl::sptr get_clock_ctrl() + { + return _clock_ctrl; + } void register_reset_codec_cb(std::function<void(void)>&& reset_cb) { _reset_cbs.push_back(std::move(reset_cb)); } - void set_initialization_done() { _initialization_done = true; } + void set_initialization_done() + { + _initialization_done = true; + } void register_radio(uhd::usrp::x300::x300_radio_mbc_iface* radio) { @@ -80,7 +89,8 @@ public: class x300_timekeeper : public mb_controller::timekeeper { public: - x300_timekeeper(const size_t tk_idx, uhd::wb_iface::sptr zpu_ctrl, const double tick_rate) + x300_timekeeper( + const size_t tk_idx, uhd::wb_iface::sptr zpu_ctrl, const double tick_rate) : _tk_idx(tk_idx), _zpu_ctrl(zpu_ctrl) { set_tick_rate(tick_rate); |