diff --git a/feature/motheure-simple/source/loop.php b/feature/motheure-simple/source/loop.php index e188c63..dc4c3c7 100644 --- a/feature/motheure-simple/source/loop.php +++ b/feature/motheure-simple/source/loop.php @@ -35,12 +35,12 @@ if( is_bool($STATE) ) return false; - /* (3) If inactive, pass */ + /* (3) If active, pass */ if( $STATE == 0 ) - return false; + return true; - /* (4) Return TRUE means motor active */ - return true; + /* (4) Return FALSE means motor inactive */ + return false; }