aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
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/include
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/include')
-rw-r--r--host/lib/include/uhdlib/usrp/common/max287x.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/usrp/common/max287x.hpp b/host/lib/include/uhdlib/usrp/common/max287x.hpp
index 154a967b4..fd92c7ede 100644
--- a/host/lib/include/uhdlib/usrp/common/max287x.hpp
+++ b/host/lib/include/uhdlib/usrp/common/max287x.hpp
@@ -291,6 +291,7 @@ public:
/**
* MAX2871
*/
+// clang-format off
// Table of frequency ranges for each VCO value.
// The values were derived from sampling multiple
// units over a temperature range of -10 to 40 deg C.
@@ -353,6 +354,7 @@ static const vco_map_t max2871_vco_map =
(59,uhd::range_t(5952430629.0,6016743964.0))
(60,uhd::range_t(6016743964.0,6090658690.0))
(61,uhd::range_t(6090658690.0,6128133570.0));
+// clang-format on
class max2871 : public max287x<max2871_regs_t>
{