This commit is contained in:
xdrm-brackets 2017-10-14 16:45:17 +02:00
parent 868d229f13
commit 2eeb4ed6ff
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@
=========================================================*/ =========================================================*/
/* (1) Log action to default log file */ /* (1) Log action to default log file */
$elapsed = $stop_ts - $start_ts; $elapsed = $stop_ts - $start_ts;
$elapsed = round($elapsed*1000) / 1000; $elapsed = round($elapsed*1000); // to ms + rounded
$f_data->fwrite( "[" . $elapsed ."]\n" ); $f_data->fwrite( "[" . $elapsed ."]\n" );
slog("Motor stop", 'motheure-simple:loop', 'motheure'); slog("Motor stop", 'motheure-simple:loop', 'motheure');