diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-08 00:16:05 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-08 00:16:05 +0000 |
commit | ad511bd81d726918a11ab1218a4bc48f8eaf6efe (patch) | |
tree | 92b0ecda8231879209df953b6174cf547da74119 /host/lib/usrp | |
parent | b285d23f5eba9b65f9baf799fee3f1389c132632 (diff) | |
parent | 516b722fa17123b6ae95b551c71f0b052d129f78 (diff) | |
download | uhd-ad511bd81d726918a11ab1218a4bc48f8eaf6efe.tar.gz uhd-ad511bd81d726918a11ab1218a4bc48f8eaf6efe.tar.bz2 uhd-ad511bd81d726918a11ab1218a4bc48f8eaf6efe.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e_wip
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp index faf4a5c7e..8552edd1f 100644 --- a/host/lib/usrp/usrp2/usrp2_iface.cpp +++ b/host/lib/usrp/usrp2/usrp2_iface.cpp @@ -161,7 +161,7 @@ public: //loop until we get the packet or timeout boost::uint8_t usrp2_ctrl_data_in_mem[USRP2_UDP_BYTES]; //allocate max bytes for recv - usrp2_ctrl_data_t *ctrl_data_in = reinterpret_cast<usrp2_ctrl_data_t *>(usrp2_ctrl_data_in_mem); + const usrp2_ctrl_data_t *ctrl_data_in = reinterpret_cast<const usrp2_ctrl_data_t *>(usrp2_ctrl_data_in_mem); while(true){ size_t len = _ctrl_transport->recv(boost::asio::buffer(usrp2_ctrl_data_in_mem)); if(len >= sizeof(boost::uint32_t) and ntohl(ctrl_data_in->proto_ver) != USRP2_PROTO_VERSION){ |