diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-02-20 18:09:00 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-02-20 18:09:00 -0800 |
commit | 5964adcdc32a94c5a259a22b1bca406a3bf7b106 (patch) | |
tree | da2d8ec6b44d8e98adc122b55daa0687d6d53cdc | |
parent | 21aad77c9ca07f4271136b9241f5adb00a6bb908 (diff) | |
parent | e256f3db52535b4b03086c5f7e0c8aed178e322b (diff) | |
download | uhd-5964adcdc32a94c5a259a22b1bca406a3bf7b106.tar.gz uhd-5964adcdc32a94c5a259a22b1bca406a3bf7b106.tar.bz2 uhd-5964adcdc32a94c5a259a22b1bca406a3bf7b106.zip |
Merge branch 'maint'
-rw-r--r-- | host/lib/usrp/common/max287x.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp index ab92df2db..1209d194e 100644 --- a/host/lib/usrp/common/max287x.hpp +++ b/host/lib/usrp/common/max287x.hpp @@ -23,6 +23,7 @@ #include <uhd/types/ranges.hpp> #include <uhd/utils/log.hpp> #include <uhd/utils/math.hpp> +#include <uhd/utils/safe_call.hpp> #include <boost/assign.hpp> #include <boost/function.hpp> #include <boost/thread.hpp> @@ -475,7 +476,10 @@ max287x<max287x_regs_t>::max287x(write_fn func) : template <typename max287x_regs_t> max287x<max287x_regs_t>::~max287x() { - shutdown(); + UHD_SAFE_CALL + ( + shutdown(); + ) } template <typename max287x_regs_t> |