blob: c2e5e00f70d6f854967ff2f868dfd004f9faabb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Bug: https://bugs.gentoo.org/611680
Backported from: https://github.com/EttusResearch/uhd/commit/b6ad4c0531ef56f4e197cccd06f1d11fc89e4aab
--- a/host/lib/usrp/dboard/db_cbx.cpp
+++ b/host/lib/usrp/dboard/db_cbx.cpp
@@ -38,7 +38,7 @@ sbx_xcvr::cbx::~cbx(void){
/* NOP */
}
-void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, std::vector<boost::uint32_t> ®s)
+void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> ®s)
{
BOOST_FOREACH(boost::uint32_t reg, regs)
{
--- a/host/lib/usrp/dboard/db_sbx_common.hpp
+++ b/host/lib/usrp/dboard/db_sbx_common.hpp
@@ -225,7 +225,7 @@ class sbx_xcvr : public xcvr_dboard_base{
/*! This is the registered instance of the wrapper class, sbx_base. */
sbx_xcvr *self_base;
private:
- void write_lo_regs(dboard_iface::unit_t unit, std::vector<boost::uint32_t> ®s);
+ void write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> ®s);
max287x_iface::sptr _txlo;
max287x_iface::sptr _rxlo;
};
|