From c7e56dff5621c34660570f8438fe1a5b9c66c1fe Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 10 Apr 2015 22:38:59 +0500 Subject: [PATCH] Update tmr.c --- app/modules/tmr.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app/modules/tmr.c b/app/modules/tmr.c index c546135c..2c823563 100644 --- a/app/modules/tmr.c +++ b/app/modules/tmr.c @@ -87,10 +87,9 @@ static int tmr_delay_ms( lua_State* L ) return luaL_error( L, "wrong arg range" ); int i = 0; - for(i=0;i<1000;i++) // 1ms == 1000us. Simple stupid and should work. - //May be later this will need some calibration or refactoring. + for(i=0;i