aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium
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/magnesium
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/magnesium')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp
index c46849e80..05b6dbe8f 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp
@@ -55,6 +55,7 @@ namespace {
//! Maps band -> gain_tuple_map_t
using gain_tables_t = std::map<size_t, gain_tuple_map_t>;
+ // clang-format off
/*! RX gain tables
*/
const gain_tables_t rx_gain_tables = {
@@ -436,6 +437,7 @@ namespace {
{65, {0, 0, false}}
}}
}; /* tx_gain_tables */
+ // clang-format on
gain_tuple_t fine_tune_ad9371_att(
const gain_tuple_t gain_tuple,