This commit is contained in:
xdrm-brackets 2017-10-14 16:38:57 +02:00
parent e7a7596aac
commit 8f3923ac97
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
foreach($MOTOR_PIN as $PIN){ foreach($MOTOR_PIN as $PIN){
/* (1) Get its state */ /* (1) Get its state */
$STATE = syscall( SOURCE_DIR."/lib/gpio/in $MOTOR_PIN" ); $STATE = syscall( SOURCE_DIR."/lib/gpio/in $PIN" );
/* (2) If at least one active return TRUE */ /* (2) If at least one active return TRUE */
if( $STATE === true ) if( $STATE === true )