summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-10-08 22:16:49 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-10-08 22:16:49 +0200
commitb7762c5a3571b6a0fc311539e8f0ca79038ec4ee (patch)
tree8d2d9052cdda44839160cebaa66ef6d91bc83961
parent481d3d8c6932bb15bb2799eb0936d4cb0673ae67 (diff)
Time::sleep() is static.
-rw-r--r--time.h2
1 files changed, 1 insertions, 1 deletions
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();