From 51e671761935daf08fdd3881d13dd342e0263677 Mon Sep 17 00:00:00 2001 From: Jenna Fox Date: Mon, 19 Nov 2012 11:36:19 +1100 Subject: Added updated micronucleus.exe build, which goes extra slow and uses newer micronucleus_lib --- commandline/library/littleWire_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commandline/library') diff --git a/commandline/library/littleWire_util.c b/commandline/library/littleWire_util.c index 940a68d..985c4a3 100644 --- a/commandline/library/littleWire_util.c +++ b/commandline/library/littleWire_util.c @@ -5,7 +5,8 @@ void delay(unsigned int duration) { #if defined _WIN32 || defined _WIN64 // use windows sleep api with milliseconds - Sleep(duration); + // * 2 to make it run at half speed, because windows seems to have some trouble with this... + Sleep(duration * 2); #else // use standard unix api with microseconds usleep(duration*1000); -- cgit v1.2.3