diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-02-27 10:30:57 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-02-27 10:30:57 +0100 |
commit | 6db4e5b3ad28973601b8e7426a4cffa01322b9a2 (patch) | |
tree | 20ad9a5dc6a18dd513f4a254f7a86ddd2eba52f3 /src/output | |
parent | 201d711a1d3dfbe46d622871731005937598e790 (diff) | |
parent | c3dbbec39aef32789aacb872c88801f0c5d15ef7 (diff) | |
download | dabmod-6db4e5b3ad28973601b8e7426a4cffa01322b9a2.tar.gz dabmod-6db4e5b3ad28973601b8e7426a4cffa01322b9a2.tar.bz2 dabmod-6db4e5b3ad28973601b8e7426a4cffa01322b9a2.zip |
Merge branch 'next' into lime
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/UHD.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp index 9358072..c6c500b 100644 --- a/src/output/UHD.cpp +++ b/src/output/UHD.cpp @@ -432,7 +432,7 @@ bool UHD::is_clk_source_ok(void) const } } } - catch (uhd::lookup_error &e) { + catch (const uhd::lookup_error &e) { suppress_refclk_loss_check = true; etiLog.log(warn, "OutputUHD: This USRP does not have mboard " "sensor for ext clock loss. Check disabled."); @@ -456,7 +456,7 @@ double UHD::get_temperature(void) const try { return std::round(m_usrp->get_tx_sensor("temp", 0).to_real()); } - catch (uhd::lookup_error &e) { + catch (const uhd::lookup_error &e) { return std::numeric_limits<double>::quiet_NaN(); } } |