From 2eeb4ed6ffc48371667b509af998e7d2c84137dc Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 14 Oct 2017 16:45:17 +0200 Subject: [PATCH] minmod --- feature/motheure-simple/source/loop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/motheure-simple/source/loop.php b/feature/motheure-simple/source/loop.php index baab23d..8502a90 100644 --- a/feature/motheure-simple/source/loop.php +++ b/feature/motheure-simple/source/loop.php @@ -104,7 +104,7 @@ =========================================================*/ /* (1) Log action to default log file */ $elapsed = $stop_ts - $start_ts; - $elapsed = round($elapsed*1000) / 1000; + $elapsed = round($elapsed*1000); // to ms + rounded $f_data->fwrite( "[" . $elapsed ."]\n" ); slog("Motor stop", 'motheure-simple:loop', 'motheure');