aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorSugandha Gupta <sugandha.gupta@ettus.com>2018-12-05 15:23:31 -0800
committerMartin Braun <martin.braun@ettus.com>2018-12-05 18:24:18 -0800
commitba47770d84e4a463efc94a1c6f6e15284376e11b (patch)
tree3b3b37281a630dec18180f675991ee84e1d0ddc1 /host
parent2595e40b582e963c2bdce2fe61f6ad64504d26c7 (diff)
downloaduhd-ba47770d84e4a463efc94a1c6f6e15284376e11b.tar.gz
uhd-ba47770d84e4a463efc94a1c6f6e15284376e11b.tar.bz2
uhd-ba47770d84e4a463efc94a1c6f6e15284376e11b.zip
uhd: Fix log statement for Port number on RFNOC block
CE is display in decimal format and Port number will be displayed in Hex, as it represents Block Port on the crossbar
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/device3/device3_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/device3/device3_impl.cpp b/host/lib/usrp/device3/device3_impl.cpp
index fb74d4712..5705d6a84 100644
--- a/host/lib/usrp/device3/device3_impl.cpp
+++ b/host/lib/usrp/device3/device3_impl.cpp
@@ -164,7 +164,7 @@ void device3_impl::enumerate_rfnoc_blocks(
));
uhd::rfnoc::ctrl_iface::sptr ctrl1 = uhd::rfnoc::ctrl_iface::make(
xport1,
- str(boost::format("CE_%02d_Port_%02d") % i % ctrl_sid.get_dst_endpoint())
+ str(boost::format("CE_%02d_Port_%02X") % i % ctrl_sid.get_dst_endpoint())
);
make_args.ctrl_ifaces[port_number] = ctrl1;
}