diff --git a/feature/motheure-simple/source/loop.php b/feature/motheure-simple/source/loop.php index 187c872..d175a12 100644 --- a/feature/motheure-simple/source/loop.php +++ b/feature/motheure-simple/source/loop.php @@ -31,12 +31,6 @@ /* (1) Get its state */ $STATE = syscall( SOURCE_DIR."/lib/gpio/in $MOTOR_PIN" ); - /* (2) If invalid */ - if( is_bool($STATE) ){ - slog('read: 0', 'motheure-simple:loop', 'motheure'); - return false; - } - /* (3) If active, pass */ if( $STATE == 0 ){ slog('read: 1', 'motheure-simple:loop', 'motheure');