transceiver: add a newline for uhd information outputs
Minor change to clarify the logging output. Signed-off-by: Thomas Tsou <ttsou@vt.edu>
This commit is contained in:
parent
1928417a66
commit
ba7a18d80d
|
@ -449,7 +449,7 @@ bool uhd_device::open()
|
||||||
set_ref_clk(use_ext_ref);
|
set_ref_clk(use_ext_ref);
|
||||||
|
|
||||||
// Print configuration
|
// Print configuration
|
||||||
LOG(INFO) << usrp_dev->get_pp_string();
|
LOG(INFO) << "\n" << usrp_dev->get_pp_string();
|
||||||
|
|
||||||
// Check for a valid device type and set bus type
|
// Check for a valid device type and set bus type
|
||||||
if (!parse_dev_type())
|
if (!parse_dev_type())
|
||||||
|
@ -717,7 +717,7 @@ bool uhd_device::updateAlignment(TIMESTAMP timestamp)
|
||||||
bool uhd_device::setTxFreq(double wFreq)
|
bool uhd_device::setTxFreq(double wFreq)
|
||||||
{
|
{
|
||||||
uhd::tune_result_t tr = usrp_dev->set_tx_freq(wFreq);
|
uhd::tune_result_t tr = usrp_dev->set_tx_freq(wFreq);
|
||||||
LOG(INFO) << tr.to_pp_string();
|
LOG(INFO) << "\n" << tr.to_pp_string();
|
||||||
tx_freq = usrp_dev->get_tx_freq();
|
tx_freq = usrp_dev->get_tx_freq();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -726,7 +726,7 @@ bool uhd_device::setTxFreq(double wFreq)
|
||||||
bool uhd_device::setRxFreq(double wFreq)
|
bool uhd_device::setRxFreq(double wFreq)
|
||||||
{
|
{
|
||||||
uhd::tune_result_t tr = usrp_dev->set_rx_freq(wFreq);
|
uhd::tune_result_t tr = usrp_dev->set_rx_freq(wFreq);
|
||||||
LOG(INFO) << tr.to_pp_string();
|
LOG(INFO) << "\n" << tr.to_pp_string();
|
||||||
rx_freq = usrp_dev->get_rx_freq();
|
rx_freq = usrp_dev->get_rx_freq();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Reference in New Issue