aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_iface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard_iface.cpp')
-rw-r--r--host/lib/usrp/dboard_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_iface.cpp b/host/lib/usrp/dboard_iface.cpp
index 4a3836151..b7eec3ffb 100644
--- a/host/lib/usrp/dboard_iface.cpp
+++ b/host/lib/usrp/dboard_iface.cpp
@@ -26,7 +26,7 @@ void dboard_iface::sleep(const boost::chrono::nanoseconds& time)
if (time < boost::chrono::microseconds(1)) {
std::this_thread::sleep_for(std::chrono::microseconds(1));
} else {
- std::this_thread::sleep_for(std::chrono::microseconds(time.count()));
+ std::this_thread::sleep_for(std::chrono::nanoseconds(time.count()));
}
}
}