aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/ctrl_iface.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-09 15:07:48 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-09 15:07:48 -0700
commit3114dc384cd1f87a5d0986a73b0a203b60383a0f (patch)
treeac994a367559bb5c6651b0af62434b87fcf5339e /host/lib/rfnoc/ctrl_iface.cpp
parent7998db839f5b1515b24dcba5ecae6607685dce99 (diff)
downloaduhd-3114dc384cd1f87a5d0986a73b0a203b60383a0f.tar.gz
uhd-3114dc384cd1f87a5d0986a73b0a203b60383a0f.tar.bz2
uhd-3114dc384cd1f87a5d0986a73b0a203b60383a0f.zip
rfnoc: ctrl_iface error messages are now no longer the same as radio_ctrl_core_3000
Diffstat (limited to 'host/lib/rfnoc/ctrl_iface.cpp')
-rw-r--r--host/lib/rfnoc/ctrl_iface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/rfnoc/ctrl_iface.cpp b/host/lib/rfnoc/ctrl_iface.cpp
index 4518e88cf..83c3a2626 100644
--- a/host/lib/rfnoc/ctrl_iface.cpp
+++ b/host/lib/rfnoc/ctrl_iface.cpp
@@ -131,7 +131,7 @@ public:
}
private:
- // This is the buffer type for messages in radio control core.
+ // This is the buffer type for response messages
struct resp_buff_type
{
boost::uint32_t data[8];
@@ -140,7 +140,7 @@ private:
/*******************************************************************
* Primary control and interaction private methods
******************************************************************/
- UHD_INLINE void send_pkt(const boost::uint32_t addr, const boost::uint32_t data = 0)
+ inline void send_pkt(const boost::uint32_t addr, const boost::uint32_t data = 0)
{
managed_send_buffer::sptr buff = _ctrl_xport->get_send_buff(0.0);
if (not buff) {
@@ -207,7 +207,7 @@ private:
}
catch(const std::exception &ex)
{
- throw uhd::io_error(str(boost::format("Radio ctrl (%s) no response packet - %s") % _name % ex.what()));
+ throw uhd::io_error(str(boost::format("Block ctrl (%s) no response packet - %s") % _name % ex.what()));
}
pkt = buff->cast<const boost::uint32_t *>();
packet_info.num_packet_words32 = buff->size()/sizeof(boost::uint32_t);
@@ -250,7 +250,7 @@ private:
}
catch(const std::exception &ex)
{
- UHD_MSG(error) << "[" << _name << "] Radio ctrl bad VITA packet: " << ex.what() << std::endl;
+ UHD_MSG(error) << "[" << _name << "] Block ctrl bad VITA packet: " << ex.what() << std::endl;
if (buff){
UHD_MSG(status) << boost::format("%08X") % pkt[0] << std::endl;
UHD_MSG(status) << boost::format("%08X") % pkt[1] << std::endl;
@@ -291,7 +291,7 @@ private:
}
catch(const std::exception &ex)
{
- throw uhd::io_error(str(boost::format("Radio ctrl (%s) packet parse error - %s") % _name % ex.what()));
+ throw uhd::io_error(str(boost::format("Block ctrl (%s) packet parse error - %s") % _name % ex.what()));
}
//return the readback value