Fix overriding motheure data file

This commit is contained in:
xdrm-brackets 2017-10-14 09:37:36 +02:00
parent 7906d37cf7
commit ba07ab7bcd
1 changed files with 1 additions and 3 deletions

View File

@ -104,9 +104,7 @@
/* [2] Main loop /* [2] Main loop
=========================================================*/ =========================================================*/
/* (1) Log action to default log file */ /* (1) Log action to default log file */
$f_data->fwrite( json_encode([ $f_data->fwrite( "[" . floor( $stop_ts - $start_ts ) ."]\n" );
floor( $stop_ts - $start_ts )
]).PHP_EOL );
slog("Motor stop", 'motheure-simple:loop', 'motheure'); slog("Motor stop", 'motheure-simple:loop', 'motheure');
/* (2) Return status */ /* (2) Return status */