This commit is contained in:
xdrm-brackets 2017-10-14 09:33:19 +02:00
parent 7c6bc2dc2d
commit 7906d37cf7
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}