summaryrefslogtreecommitdiff
path: root/os/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/time.h')
-rw-r--r--os/time.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/time.h b/os/time.h
index f4e3ce6..eddba32 100644
--- a/os/time.h
+++ b/os/time.h
@@ -1,7 +1,7 @@
#ifndef TIME_H
#define TIME_H
-#include "thread.h"
+#include <cstdint>
struct STK_t {
volatile uint32_t CTRL;
@@ -28,7 +28,6 @@ class Time {
inline static void sleep(uint32_t ms) {
ms += systime;
while(systime < ms) {
- Thread::yield();
}
}
};