aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2020-07-31 10:42:52 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-31 15:33:30 -0500
commit7afc84de1692386df5ee65462703499950170f48 (patch)
treecc8745f5bd19ff5184d00bdf6bdbae088878d09e
parent84c33194ce6056af31393047ea8ce505a3ccf073 (diff)
downloaduhd-7afc84de1692386df5ee65462703499950170f48.tar.gz
uhd-7afc84de1692386df5ee65462703499950170f48.tar.bz2
uhd-7afc84de1692386df5ee65462703499950170f48.zip
rfnoc: Fix compilation error when tracing enabled
-rw-r--r--host/lib/rfnoc/siggen_block_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/rfnoc/siggen_block_control.cpp b/host/lib/rfnoc/siggen_block_control.cpp
index 416688ce1..fe963a1c3 100644
--- a/host/lib/rfnoc/siggen_block_control.cpp
+++ b/host/lib/rfnoc/siggen_block_control.cpp
@@ -193,8 +193,8 @@ private:
});
register_property(&_prop_spp.back(), [this, port]() {
const uint32_t spp = _prop_spp.at(port).get();
- RFNOC_LOG_TRACE("Setting samples per packet to " << words_per_pkt
- << " on chan " << chan);
+ RFNOC_LOG_TRACE(
+ "Setting samples per packet to " << spp << " on port " << port);
_siggen_reg_iface.poke32(REG_SPP_OFFSET, spp, port);
});