From e758efc80412343642ae22213fefe41333ad7372 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 29 Nov 2018 18:43:35 -0800 Subject: mg: Unindent falsely indented block of code Whitespace changes only. --- .../dboard/magnesium/magnesium_radio_ctrl_init.cpp | 58 +++++++++++----------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'host/lib/usrp/dboard') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp index ba7d937aa..7df3e888c 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp @@ -118,35 +118,35 @@ void magnesium_radio_ctrl_impl::_init_peripherals() ); UHD_LOG_TRACE(unique_id(), "Initializing CPLD..."); UHD_LOG_TRACE(unique_id(), "Creating new CPLD object..."); - spi_config_t spi_config; - spi_config.use_custom_divider = true; - spi_config.divider = 125; - spi_config.mosi_edge = spi_config_t::EDGE_RISE; - spi_config.miso_edge = spi_config_t::EDGE_FALL; - UHD_LOG_TRACE(unique_id(), "Making CPLD object..."); - _cpld = std::make_shared( - [this, spi_config](const uint32_t transaction){ // Write functor - this->_spi->write_spi( - SEN_CPLD, - spi_config, - transaction, - 24 - ); - }, - [this, spi_config](const uint32_t transaction){ // Read functor - return this->_spi->read_spi( - SEN_CPLD, - spi_config, - transaction, - 24 - ); - } - ); - _update_atr_switches( - magnesium_cpld_ctrl::BOTH, - DX_DIRECTION, - radio_ctrl_impl::get_rx_antenna(0) - ); + spi_config_t spi_config; + spi_config.use_custom_divider = true; + spi_config.divider = 125; + spi_config.mosi_edge = spi_config_t::EDGE_RISE; + spi_config.miso_edge = spi_config_t::EDGE_FALL; + UHD_LOG_TRACE(unique_id(), "Making CPLD object..."); + _cpld = std::make_shared( + [this, spi_config](const uint32_t transaction){ // Write functor + this->_spi->write_spi( + SEN_CPLD, + spi_config, + transaction, + 24 + ); + }, + [this, spi_config](const uint32_t transaction){ // Read functor + return this->_spi->read_spi( + SEN_CPLD, + spi_config, + transaction, + 24 + ); + } + ); + _update_atr_switches( + magnesium_cpld_ctrl::BOTH, + DX_DIRECTION, + radio_ctrl_impl::get_rx_antenna(0) + ); UHD_LOG_TRACE(unique_id(), "Initializing TX LO..."); _tx_lo = adf435x_iface::make_adf4351( [this](const std::vector transactions){ -- cgit v1.2.3