Invert motor state

This commit is contained in:
xdrm-brackets 2017-10-14 09:17:48 +02:00
parent 9ed6f0719d
commit 6a2680b0b0
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
return false;
/* (3) If inactive, pass */
if( $STATE == 0 )
if( $STATE == 1 )
return false;
/* (4) Return TRUE means motor active */