IO: Remove unused internal method

This commit is contained in:
gohai
2017-04-30 20:42:30 +02:00
parent b204f0d498
commit 8a055dddac

View File

@@ -511,19 +511,4 @@ public class GPIO {
return true;
}
}
/**
* Waits for the value of an input pin to change
*
* Make sure to setup the interrupt with enableInterrupt() before calling
* this function. This function will wait indefinitely for an interrupt
* to occur.
* @parm pin GPIO pin
* @see enableInterrupt
* @see disableInterrupt
*/
protected static void waitForInterrupt(int pin) {
waitForInterrupt(pin, -1);
}
}