diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-31 17:17:57 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-31 17:17:57 -0400 |
commit | e03d58f4dab4176514924baa3a1ff430bf5819b8 (patch) | |
tree | b5c8269c34ab3bb4da0f7c52dea7049966753fb3 /wirish/time.c | |
parent | 01c38f5567bf624413d901c2b287e63cdccd03a6 (diff) | |
download | librambutan-e03d58f4dab4176514924baa3a1ff430bf5819b8.tar.gz librambutan-e03d58f4dab4176514924baa3a1ff430bf5819b8.zip |
Further wirish portability progress
Sort of ugly changes. Compiles but untested.
Diffstat (limited to 'wirish/time.c')
-rw-r--r-- | wirish/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wirish/time.c b/wirish/time.c index c0fd03e..ea8ebe1 100644 --- a/wirish/time.c +++ b/wirish/time.c @@ -39,6 +39,7 @@ void delay(unsigned long ms) } void delayMicroseconds(uint32 us) { + // So (2^32)/12 micros max, or less than 6 minutes us *= 12; /* fudge for function call overhead */ |