diff options
Diffstat (limited to 'os/time.h')
| -rw-r--r-- | os/time.h | 9 | 
1 files changed, 1 insertions, 8 deletions
| @@ -1,7 +1,7 @@  #ifndef TIME_H  #define TIME_H -#include "thread.h" +#include <stdint.h>  struct STK_t {  	volatile uint32_t CTRL; @@ -24,13 +24,6 @@ class Time {  		inline static uint32_t time() {  			return systime;  		} -		 -		inline static void sleep(uint32_t ms) { -			ms += systime; -			while(systime < ms) { -				Thread::yield(); -			} -		}  };  #endif | 
