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/twinrx/twinrx_gain_tables.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/usrp/dboard/twinrx/twinrx_gain_tables.cpp') 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 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 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 ( -- cgit v1.2.3