diff --git a/feature/motheure-simple/source/loop.php b/feature/motheure-simple/source/loop.php index d49ab7b..72bedc1 100644 --- a/feature/motheure-simple/source/loop.php +++ b/feature/motheure-simple/source/loop.php @@ -32,9 +32,7 @@ $STATE = syscall( SOURCE_DIR."/lib/gpio/in $MOTOR_PIN" ); /* (3) If active, pass */ - var_dump($STATE); - if( $STATE == 0 ){ - // slog('read: 1', 'motheure-simple:loop', 'motheure'); + if( $STATE === true ){ return true; }