From 257c13ef064e20bfbe7330004c76a77f8a73b86b Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Fri, 22 Jan 2021 13:45:09 +0100 Subject: os: Remove old threading code. --- os/time.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/time.h') 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 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(); } } }; -- cgit v1.2.3