Skip to content

Commit b5d9fdf

Browse files
committed
IO: Remove unused internal method
1 parent fd33b9b commit b5d9fdf

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -511,19 +511,4 @@ protected static boolean waitForInterrupt(int pin, int timeout) {
511511
return true;
512512
}
513513
}
514-
515-
516-
/**
517-
* Waits for the value of an input pin to change
518-
*
519-
* Make sure to setup the interrupt with enableInterrupt() before calling
520-
* this function. This function will wait indefinitely for an interrupt
521-
* to occur.
522-
* @parm pin GPIO pin
523-
* @see enableInterrupt
524-
* @see disableInterrupt
525-
*/
526-
protected static void waitForInterrupt(int pin) {
527-
waitForInterrupt(pin, -1);
528-
}
529514
}

0 commit comments

Comments
 (0)