aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio/niusrprio_session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/nirio/niusrprio_session.cpp')
-rw-r--r--host/lib/transport/nirio/niusrprio_session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio/niusrprio_session.cpp b/host/lib/transport/nirio/niusrprio_session.cpp
index 797855a11..bda0ec1c1 100644
--- a/host/lib/transport/nirio/niusrprio_session.cpp
+++ b/host/lib/transport/nirio/niusrprio_session.cpp
@@ -230,7 +230,7 @@ nirio_status niusrprio_session::_ensure_fpga_ready()
boost::posix_time::ptime start_time = boost::posix_time::microsec_clock::local_time();
boost::posix_time::time_duration elapsed;
do {
- boost::this_thread::sleep(boost::posix_time::milliseconds(10)); //Avoid flooding the bus
+ std::this_thread::sleep_for(std::chrono::milliseconds(10)); //Avoid flooding the bus
elapsed = boost::posix_time::microsec_clock::local_time() - start_time;
nirio_status_chain(_riok_proxy->peek(FPGA_STATUS_REG, reg_data), status);
} while (