freddyrios 3 years ago
parent
commit
377201b45e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wiringPi/wiringPi.c

+ 1
- 1
wiringPi/wiringPi.c View File

@@ -2049,7 +2049,7 @@ int wiringPiISR (int pin, int mode, void (*function)(void))
return wiringPiFailure (WPI_FATAL, "wiringPiISR: Can't find gpio program\n") ; return wiringPiFailure (WPI_FATAL, "wiringPiISR: Can't find gpio program\n") ;
} }
else // Parent, wait else // Parent, wait
wait (NULL) ;
waitpid (pid, NULL, 0) ;
} }


// Now pre-open the /sys/class node - but it may already be open if // Now pre-open the /sys/class node - but it may already be open if


Loading…
Cancel
Save