Skip to content

Commit 832aa9c

Browse files
committed
IO: Fix waitFor(pin, mode)
1 parent 2b66122 commit 832aa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/libraries/io/src/processing/io/GPIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public static void releasePin(int pin) {
450450
* @webref
451451
*/
452452
public static void waitFor(int pin, int mode) {
453-
waitForInterrupt(pin, mode, -1);
453+
waitFor(pin, mode, -1);
454454
}
455455

456456

0 commit comments

Comments
 (0)