diff options
Diffstat (limited to 'mpm/lib/mykonos/ad937x_ctrl.cpp')
-rw-r--r-- | mpm/lib/mykonos/ad937x_ctrl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mpm/lib/mykonos/ad937x_ctrl.cpp b/mpm/lib/mykonos/ad937x_ctrl.cpp index 63eef4314..0e9e2ec00 100644 --- a/mpm/lib/mykonos/ad937x_ctrl.cpp +++ b/mpm/lib/mykonos/ad937x_ctrl.cpp @@ -363,8 +363,9 @@ public: virtual double set_bw_filter(const std::string &which, const double value) { - // TODO implement - return double(); + const auto dir = _get_direction_from_antenna(which); + std::lock_guard<std::mutex> lock(*spi_mutex); + return device.set_bw_filter(dir, value); } virtual double set_gain(const std::string &which, const double value) |