aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_tvrx2.cpp
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2019-01-10 17:13:17 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-16 11:40:23 -0800
commit8bd7498ed9fea9c46fa34705986968416d818029 (patch)
treea0c292407026d3afa611006ff525cd5c48b24f3b /host/lib/usrp/dboard/db_tvrx2.cpp
parent56c9a23c40417d5848b33b30ab941e8a8dc3c28c (diff)
downloaduhd-8bd7498ed9fea9c46fa34705986968416d818029.tar.gz
uhd-8bd7498ed9fea9c46fa34705986968416d818029.tar.bz2
uhd-8bd7498ed9fea9c46fa34705986968416d818029.zip
uhd: skip formatting misc arrays, maps, etc.
Various data structures are nicely formatted to be human-readable. clang-format makes these structures harder to read, so we can skip formatting these sections.
Diffstat (limited to 'host/lib/usrp/dboard/db_tvrx2.cpp')
-rw-r--r--host/lib/usrp/dboard/db_tvrx2.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_tvrx2.cpp b/host/lib/usrp/dboard/db_tvrx2.cpp
index 5f43c75e6..5dba83551 100644
--- a/host/lib/usrp/dboard/db_tvrx2.cpp
+++ b/host/lib/usrp/dboard/db_tvrx2.cpp
@@ -5,6 +5,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
//
+// clang-format off
// Common IO Pins
#define REFCLOCK_DIV_MASK ((1 << 8)|(1 << 9)|(1 << 10)) // Three GPIO lines to CPLD for Clock Divisor Selection
#define REFCLOCK_DIV8 ((1 << 8)|(1 << 9)|(1 << 10)) // GPIO to set clock div8 mode
@@ -37,6 +38,7 @@
#define OUTPUT_MASK (RX1_OUTPUT_MASK|RX2_OUTPUT_MASK|REFCLOCK_DIV_MASK)
#define INPUT_MASK (RX1_INPUT_MASK|RX2_INPUT_MASK)
+// clang-format on
#include "tda18272hnm_regs.hpp"
@@ -100,7 +102,7 @@ struct tvrx2_tda18272_freq_map_t {
/***********************************************************************
* The TVRX2 constants
**********************************************************************/
-
+// clang-format off
static const boost::array<freq_range_t, 4> tvrx2_tda18272_rf_bands = list_of
( freq_range_t( 44.056e6, 144.408e6) )
( freq_range_t( 145.432e6, 361.496e6) )
@@ -735,6 +737,7 @@ static const uhd::dict<std::string, gain_range_t> tvrx2_gain_ranges = map_list_o
// ("LPF", gain_range_t(0, 9, 3))
("IF", gain_range_t(0, 30, 0.5))
;
+// clang-format on
/***********************************************************************
* The TVRX2 dboard class