aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-05-20 18:32:12 -0700
committerMartin Braun <martin.braun@ettus.com>2019-05-22 15:35:15 -0700
commit441c97d33125e50e04c31229365698f121edde72 (patch)
tree3bd3f00e96500850fa62c046656306d1b84eddac /host/lib/include/uhdlib/usrp
parenta76ce96c9f8dae6521e9e1fc59283cbf72e6461a (diff)
downloaduhd-441c97d33125e50e04c31229365698f121edde72.tar.gz
uhd-441c97d33125e50e04c31229365698f121edde72.tar.bz2
uhd-441c97d33125e50e04c31229365698f121edde72.zip
cores: Apply clang-format to ?x_dsp_core_3000.*
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
-rw-r--r--host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp13
-rw-r--r--host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp12
2 files changed, 12 insertions, 13 deletions
diff --git a/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp
index 0494d09fc..8dbeab34f 100644
--- a/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp
+++ b/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp
@@ -9,17 +9,18 @@
#define INCLUDED_LIBUHD_USRP_RX_DSP_CORE_3000_HPP
#include <uhd/config.hpp>
+#include <uhd/property_tree.hpp>
#include <uhd/stream.hpp>
#include <uhd/types/ranges.hpp>
#include <uhd/types/stream_cmd.hpp>
#include <uhd/types/wb_iface.hpp>
-#include <uhd/property_tree.hpp>
#include <uhd/usrp/fe_connection.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <string>
-class rx_dsp_core_3000 : uhd::noncopyable{
+class rx_dsp_core_3000 : uhd::noncopyable
+{
public:
static const double DEFAULT_CORDIC_FREQ;
static const double DEFAULT_DDS_FREQ;
@@ -29,10 +30,10 @@ public:
virtual ~rx_dsp_core_3000(void) = 0;
- static sptr make(
- uhd::wb_iface::sptr iface,
+ static sptr make(uhd::wb_iface::sptr iface,
const size_t dsp_base,
- const bool is_b200 = false //TODO: Obsolete this when we switch to the new DDC on the B200
+ const bool is_b200 =
+ false // TODO: Obsolete this when we switch to the new DDC on the B200
);
virtual void set_mux(const uhd::usrp::fe_connection_t& fe_conn) = 0;
@@ -53,7 +54,7 @@ public:
virtual double get_freq(void) = 0;
- virtual void setup(const uhd::stream_args_t &stream_args) = 0;
+ virtual void setup(const uhd::stream_args_t& stream_args) = 0;
virtual void populate_subtree(uhd::property_tree::sptr subtree) = 0;
};
diff --git a/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp
index 98fafd5f0..c7cf07b6a 100644
--- a/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp
+++ b/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp
@@ -9,14 +9,15 @@
#define INCLUDED_LIBUHD_USRP_TX_DSP_CORE_3000_HPP
#include <uhd/config.hpp>
+#include <uhd/property_tree.hpp>
#include <uhd/stream.hpp>
#include <uhd/types/ranges.hpp>
#include <uhd/types/wb_iface.hpp>
-#include <uhd/property_tree.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
-class tx_dsp_core_3000 : uhd::noncopyable{
+class tx_dsp_core_3000 : uhd::noncopyable
+{
public:
static const double DEFAULT_CORDIC_FREQ;
static const double DEFAULT_DDS_FREQ;
@@ -26,10 +27,7 @@ public:
virtual ~tx_dsp_core_3000(void) = 0;
- static sptr make(
- uhd::wb_iface::sptr iface,
- const size_t dsp_base
- );
+ static sptr make(uhd::wb_iface::sptr iface, const size_t dsp_base);
virtual void set_tick_rate(const double rate) = 0;
@@ -47,7 +45,7 @@ public:
virtual double get_freq(void) = 0;
- virtual void setup(const uhd::stream_args_t &stream_args) = 0;
+ virtual void setup(const uhd::stream_args_t& stream_args) = 0;
virtual void populate_subtree(uhd::property_tree::sptr subtree) = 0;
};