aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/time.c')
-rw-r--r--wirish/time.c1
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 */