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');