diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-06-22 12:24:33 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-06-22 15:07:02 -0500 |
commit | 548bef02cafec8778f64b4c2348dc828f7cca83e (patch) | |
tree | 4df89984a4b3576fe6379e272f9aa8f99e36e263 /host/lib/include/uhdlib/usrp/dboard/zbx/zbx_dboard.hpp | |
parent | c399ab8a9b69bca19843eac9ef6cf8e89f816bc4 (diff) | |
download | uhd-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.hpp | 8 |
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"}; } |