aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-06-22 12:24:33 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-22 15:07:02 -0500
commit548bef02cafec8778f64b4c2348dc828f7cca83e (patch)
tree4df89984a4b3576fe6379e272f9aa8f99e36e263 /host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp
parentc399ab8a9b69bca19843eac9ef6cf8e89f816bc4 (diff)
downloaduhd-548bef02cafec8778f64b4c2348dc828f7cca83e.tar.gz
uhd-548bef02cafec8778f64b4c2348dc828f7cca83e.tar.bz2
uhd-548bef02cafec8778f64b4c2348dc828f7cca83e.zip
zbx: Fix clang compiler warnings
- Missing override - Superfluous 'this' lambda capture - Register state in zbx_cpld_ctrl was being initialized too late (this is actually a bug depending on compiler version) - Remove lots of unused fields from experts
Diffstat (limited to 'host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp')
-rw-r--r--host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp b/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp
index 619c4a05f..0a52d7bdf 100644
--- a/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp
+++ b/host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp
@@ -171,21 +171,21 @@ public:
}
// LO Property Getters
- std::vector<std::string> get_tx_lo_names(const size_t /*chan*/) const
+ std::vector<std::string> get_tx_lo_names(const size_t /*chan*/) const override
{
return ZBX_LOS;
}
- std::vector<std::string> get_rx_lo_names(const size_t /*chan*/) const
+ std::vector<std::string> get_rx_lo_names(const size_t /*chan*/) const override
{
return ZBX_LOS;
}
std::vector<std::string> get_tx_lo_sources(
- const std::string& /*name*/, const size_t /*chan*/) const
+ const std::string& /*name*/, const size_t /*chan*/) const override
{
return std::vector<std::string>{"internal", "external"};
}
std::vector<std::string> get_rx_lo_sources(
- const std::string& /*name*/, const size_t /*chan*/) const
+ const std::string& /*name*/, const size_t /*chan*/) const override
{
return std::vector<std::string>{"internal", "external"};
}