Fix overriding motheure data file
This commit is contained in:
parent
7906d37cf7
commit
ba07ab7bcd
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue