aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/twinrx
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/twinrx
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/twinrx')
-rw-r--r--host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp b/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp
index 323869c0f..cc9336f2a 100644
--- a/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp
+++ b/host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp
@@ -10,6 +10,7 @@
using namespace uhd::usrp::dboard::twinrx;
+// clang-format off
static const std::vector<twinrx_gain_config_t> HIGHBAND1_TABLE{
// Index, Gain, Atten1, Atten2, Amp1, Amp2
twinrx_gain_config_t( 0, -28.3, 31, 31, false, false ),
@@ -793,6 +794,7 @@ static const std::vector<twinrx_gain_config_t> LOWBAND4_TABLE{
twinrx_gain_config_t( 92, 56.6, 0, 1, true, true ),
twinrx_gain_config_t( 93, 57.6, 0, 0, true, true ),
};
+// clang-format on
const twinrx_gain_table twinrx_gain_table::lookup_table
(