From e709e4d36516f4459cc08c46ae6eea1e12feb70b Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 10 Jun 2011 13:11:22 -0700 Subject: uhd: added safe call on a few dboard related deconstructors --- host/lib/usrp/dboard/db_xcvr2450.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/db_xcvr2450.cpp') diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp index c775eae38..fcd05ea04 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -50,6 +50,7 @@ #include "max2829_regs.hpp" #include #include +#include #include #include #include @@ -234,7 +235,7 @@ xcvr2450::xcvr2450(ctor_args_t args) : xcvr_dboard_base(args){ } xcvr2450::~xcvr2450(void){ - spi_reset(); + UHD_SAFE_CALL(spi_reset();) } void xcvr2450::spi_reset(void){ -- cgit v1.2.3