summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/thread_bounce_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/thread_bounce_test.cpp')
-rw-r--r--fastos/src/tests/thread_bounce_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastos/src/tests/thread_bounce_test.cpp b/fastos/src/tests/thread_bounce_test.cpp
index f7bb7ee1260..84506938455 100644
--- a/fastos/src/tests/thread_bounce_test.cpp
+++ b/fastos/src/tests/thread_bounce_test.cpp
@@ -43,7 +43,7 @@ class Thread_Bounce_Test : public ThreadTestBase
int left = static_cast<int>(checkTime.elapsed().ms());
while (left < 1000) {
- FastOS_Thread::Sleep(1000 - left);
+ std::this_thread::sleep_for(std::chrono::milliseconds(1000 - left));
left = static_cast<int>(checkTime.elapsed().ms());
}