From b7762c5a3571b6a0fc311539e8f0ca79038ec4ee Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 8 Oct 2011 22:16:49 +0200 Subject: Time::sleep() is static. --- time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.h b/time.h index 66d8e63..f43d8a6 100644 --- a/time.h +++ b/time.h @@ -17,7 +17,7 @@ class Time { STK.CTRL = 0x03; } - static void sleep(uint32_t ms) { + inline static void sleep(uint32_t ms) { ms += systime; while(systime < ms) { Thread::yield(); -- cgit v1.2.3