From 8bd7498ed9fea9c46fa34705986968416d818029 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Thu, 10 Jan 2019 17:13:17 -0800 Subject: 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. --- host/lib/usrp/dboard/db_tvrx2.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/db_tvrx2.cpp') 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 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 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 -- cgit v1.2.3