aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/dboards/e31x_db_manager.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-03-02 15:30:29 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-03-03 08:51:32 -0600
commit476dccd6c383e4c0eccf0f42242137f863cda136 (patch)
treeb2de8a55e3e63374fc05f94dbe82cc9fcb4691aa /mpm/lib/dboards/e31x_db_manager.cpp
parent876d4150aa3da531ddd687b48afada6e43f79146 (diff)
downloaduhd-476dccd6c383e4c0eccf0f42242137f863cda136.tar.gz
uhd-476dccd6c383e4c0eccf0f42242137f863cda136.tar.bz2
uhd-476dccd6c383e4c0eccf0f42242137f863cda136.zip
mpm: Apply clang-format against all .cpp and .hpp files
Diffstat (limited to 'mpm/lib/dboards/e31x_db_manager.cpp')
-rw-r--r--mpm/lib/dboards/e31x_db_manager.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/mpm/lib/dboards/e31x_db_manager.cpp b/mpm/lib/dboards/e31x_db_manager.cpp
index 3c6346bd3..9965db280 100644
--- a/mpm/lib/dboards/e31x_db_manager.cpp
+++ b/mpm/lib/dboards/e31x_db_manager.cpp
@@ -28,9 +28,9 @@ constexpr uint32_t AD9361_SPI_DATA_MASK = 0x000000FF;
constexpr uint32_t AD9361_SPI_DATA_SHIFT = 0;
constexpr uint32_t AD9361_SPI_NUM_BITS = 24;
constexpr uint32_t AD9361_SPI_SPEED_HZ = 2000000;
-constexpr int AD9361_SPI_MODE = 1;
+constexpr int AD9361_SPI_MODE = 1;
-} // namespace /*anon*/
+} // namespace
/*! MPM-style E310 SPI Iface for AD9361 CTRL
*
@@ -38,10 +38,14 @@ constexpr int AD9361_SPI_MODE = 1;
class e310_ad9361_io_spi : public ad9361_io
{
public:
- e310_ad9361_io_spi(regs_iface::sptr regs_iface, uint32_t slave_num) :
- _regs_iface(regs_iface), _slave_num(slave_num) { }
+ e310_ad9361_io_spi(regs_iface::sptr regs_iface, uint32_t slave_num)
+ : _regs_iface(regs_iface), _slave_num(slave_num)
+ {
+ }
- ~e310_ad9361_io_spi() {/*nop*/}
+ ~e310_ad9361_io_spi()
+ { /*nop*/
+ }
uint8_t peek8(uint32_t reg)
{