aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/mykonos/ad937x_device.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/lib/mykonos/ad937x_device.hpp')
-rw-r--r--mpm/lib/mykonos/ad937x_device.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/lib/mykonos/ad937x_device.hpp b/mpm/lib/mykonos/ad937x_device.hpp
index 4797ed5ef..8ea0623a0 100644
--- a/mpm/lib/mykonos/ad937x_device.hpp
+++ b/mpm/lib/mykonos/ad937x_device.hpp
@@ -110,8 +110,8 @@ private:
void _apply_gain_pins(uhd::direction_t direction, mpm::ad937x::device::chain_t chain);
- void _call_api_function(std::function<mykonosErr_t()> func);
- void _call_gpio_api_function(std::function<mykonosGpioErr_t()> func);
+ void _call_api_function(const std::function<mykonosErr_t()>& func);
+ void _call_gpio_api_function(const std::function<mykonosGpioErr_t()>& func);
std::string _get_arm_binary_path();
std::vector<uint8_t> _get_arm_binary();