1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-24 02:54:54 +00:00

Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments)

This commit is contained in:
Carles Fernandez
2020-02-11 21:47:13 +01:00
parent 207b01a6c0
commit d65daac971
13 changed files with 56 additions and 73 deletions

View File

@@ -265,9 +265,9 @@ bool config_ad9361_rx_local(uint64_t bandwidth_,
{
throw std::runtime_error("Unable to set BB rate");
// set bw
//params.push_back("in_voltage_rf_bandwidth=" + boost::to_string(bandwidth));
// params.push_back("in_voltage_rf_bandwidth=" + boost::to_string(bandwidth));
}
//wr_ch_str(rx_chan1, "rf_port_select", rf_port_select_.c_str());
// wr_ch_str(rx_chan1, "rf_port_select", rf_port_select_.c_str());
ret = iio_device_attr_write(ad9361_phy, "in_voltage0_rf_port_select", rf_port_select_.c_str());
if (ret)
{
@@ -514,9 +514,9 @@ bool config_ad9361_rx_remote(const std::string &remote_host,
{
throw std::runtime_error("Unable to set BB rate");
// set bw
//params.push_back("in_voltage_rf_bandwidth=" + boost::to_string(bandwidth));
// params.push_back("in_voltage_rf_bandwidth=" + boost::to_string(bandwidth));
}
//wr_ch_str(rx_chan1, "rf_port_select", rf_port_select_.c_str());
// wr_ch_str(rx_chan1, "rf_port_select", rf_port_select_.c_str());
ret = iio_device_attr_write(ad9361_phy, "in_voltage0_rf_port_select", rf_port_select_.c_str());
if (ret)
{