Fix overriding motheure data file
This commit is contained in:
parent
7906d37cf7
commit
ba07ab7bcd
|
@ -104,9 +104,7 @@
|
|||
/* [2] Main loop
|
||||
=========================================================*/
|
||||
/* (1) Log action to default log file */
|
||||
$f_data->fwrite( json_encode([
|
||||
floor( $stop_ts - $start_ts )
|
||||
]).PHP_EOL );
|
||||
$f_data->fwrite( "[" . floor( $stop_ts - $start_ts ) ."]\n" );
|
||||
slog("Motor stop", 'motheure-simple:loop', 'motheure');
|
||||
|
||||
/* (2) Return status */
|
||||
|
|
Loading…
Reference in New Issue