diff options
Diffstat (limited to 'host/lib/include')
-rw-r--r-- | host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp b/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp index 0c22831b5..953a4c928 100644 --- a/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp +++ b/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp @@ -7,6 +7,7 @@ #pragma once #include "x400_dboard_iface.hpp" +#include <uhd/config.hpp> #include <uhd/exception.hpp> #include <uhd/property_tree.hpp> #include <uhd/types/eeprom.hpp> @@ -16,7 +17,7 @@ #define UHD_LOG_SKIP_CFG() \ UHD_LOG_TRACE( \ - "RFNOC::DEBUG_DB", "Skipping unsupported debug db config for " << __FUNCTION__); + "RFNOC::DEBUG_DB", "Skipping unsupported debug db config for " << UHD_FUNCTION); namespace uhd { namespace rfnoc { @@ -397,7 +398,7 @@ public: , _mb_control(mb_controller) , _tree(tree) { - RFNOC_LOG_TRACE("Entering " << __FUNCTION__); + RFNOC_LOG_TRACE("Entering " << UHD_FUNCTION); RFNOC_LOG_TRACE("DB ID: " << _db_idx); UHD_ASSERT_THROW(_mb_control); _rpcc = _mb_control->get_rpc_client(); @@ -407,7 +408,7 @@ public: ~if_test_dboard_impl() { - RFNOC_LOG_TRACE(__FUNCTION__); + RFNOC_LOG_TRACE(UHD_FUNCTION); } // The IF Test dboard muxes a single SMA port (for each of RX and TX) like so: |