aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
-rw-r--r--host/lib/include/uhdlib/usrp/common/max287x.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/host/lib/include/uhdlib/usrp/common/max287x.hpp b/host/lib/include/uhdlib/usrp/common/max287x.hpp
index 762daf7b6..154a967b4 100644
--- a/host/lib/include/uhdlib/usrp/common/max287x.hpp
+++ b/host/lib/include/uhdlib/usrp/common/max287x.hpp
@@ -8,6 +8,8 @@
#ifndef MAX287X_HPP_INCLUDED
#define MAX287X_HPP_INCLUDED
+#include "max2870_regs.hpp"
+#include "max2871_regs.hpp"
#include <uhd/exception.hpp>
#include <uhd/types/dict.hpp>
#include <uhd/types/ranges.hpp>
@@ -16,12 +18,11 @@
#include <uhd/utils/safe_call.hpp>
#include <boost/assign.hpp>
#include <boost/function.hpp>
-#include <boost/thread.hpp>
#include <boost/math/special_functions/round.hpp>
-#include <stdint.h>
#include <vector>
-#include "max2870_regs.hpp"
-#include "max2871_regs.hpp"
+#include <chrono>
+#include <thread>
+#include <stdint.h>
/**
* MAX287x interface
@@ -915,7 +916,7 @@ void max287x<max287x_regs_t>::commit()
if (_delay_after_write)
{
- boost::this_thread::sleep(boost::posix_time::milliseconds(20));
+ std::this_thread::sleep_for(std::chrono::milliseconds(20));
_delay_after_write = false;
}
}