Invert motor state
This commit is contained in:
parent
9ed6f0719d
commit
6a2680b0b0
|
@ -36,7 +36,7 @@
|
|||
return false;
|
||||
|
||||
/* (3) If inactive, pass */
|
||||
if( $STATE == 0 )
|
||||
if( $STATE == 1 )
|
||||
return false;
|
||||
|
||||
/* (4) Return TRUE means motor active */
|
||||
|
|
Loading…
Reference in New Issue