diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-08 22:16:49 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-08 22:16:49 +0200 |
commit | b7762c5a3571b6a0fc311539e8f0ca79038ec4ee (patch) | |
tree | 8d2d9052cdda44839160cebaa66ef6d91bc83961 | |
parent | 481d3d8c6932bb15bb2799eb0936d4cb0673ae67 (diff) |
Time::sleep() is static.
-rw-r--r-- | time.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |