FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

I/O: Add missing @param · hzzbin/processing@9cd38a2 · GitHub

Repository navigation

Commit 9cd38a2

Browse files
committed
I/O: Add missing @PARAM
This fixes the last Javadoc warning.
1 parent 2082e24 commit 9cd38a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ public static void releasePin(int pin) {
505505
*
506506
* Make sure to setup the interrupt with enableInterrupt() before calling
507507
* this function. A timeout value of -1 waits indefinitely.
508+
* @param pin GPIO pin
508509
* @param timeout don't wait more than timeout milliseconds
509510
* @return true if the interrupt occured, false if the timeout occured
510511
* @see enableInterrupt
@@ -536,6 +537,7 @@ public static boolean waitForInterrupt(int pin, int timeout) {
536537
* Make sure to setup the interrupt with enableInterrupt() before calling
537538
* this function. This function will wait indefinitely for an interrupt
538539
* to occur.
540+
* @parm pin GPIO pin
539541
* @see enableInterrupt
540542
* @see disableInterrupt
541543
*/

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL