aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorDavid Raeman <david@synopticengineering.com>2022-06-12 16:57:36 +0000
committerskooNI <60897865+skooNI@users.noreply.github.com>2022-07-20 15:57:20 -0500
commit414e67480abc8fed5c8ec056af3ccfda33d079fd (patch)
tree8050625ffe0c9daef8bfecab616a3d580feb015f /host/lib/usrp/common
parent35352b4b9eeae6ad8d1d764c2c241eef60cc7d0f (diff)
downloaduhd-414e67480abc8fed5c8ec056af3ccfda33d079fd.tar.gz
uhd-414e67480abc8fed5c8ec056af3ccfda33d079fd.tar.bz2
uhd-414e67480abc8fed5c8ec056af3ccfda33d079fd.zip
cal: add method to get the current power cal tracking mode
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r--host/lib/usrp/common/pwr_cal_mgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/common/pwr_cal_mgr.cpp b/host/lib/usrp/common/pwr_cal_mgr.cpp
index 7fb569e83..2f5f2e87a 100644
--- a/host/lib/usrp/common/pwr_cal_mgr.cpp
+++ b/host/lib/usrp/common/pwr_cal_mgr.cpp
@@ -185,6 +185,11 @@ public:
_mode = mode;
}
+ tracking_mode get_tracking_mode() override
+ {
+ return _mode;
+ }
+
void set_serial(const std::string& serial) override
{
if (serial == _serial || serial.empty()) {