From a31f94585b1d8346cb649ff800aabdb42f537408 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 14 Oct 2017 09:19:40 +0200 Subject: [PATCH] Revert "Invert motor state" This reverts commit 6a2680b0b0420cbd4f090da65edfe4056856015f. --- feature/motheure-simple/source/loop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/motheure-simple/source/loop.php b/feature/motheure-simple/source/loop.php index cbf368c..e188c63 100644 --- a/feature/motheure-simple/source/loop.php +++ b/feature/motheure-simple/source/loop.php @@ -36,7 +36,7 @@ return false; /* (3) If inactive, pass */ - if( $STATE == 1 ) + if( $STATE == 0 ) return false; /* (4) Return TRUE means motor active */