From a06b3f030701748559790ea9c82822dbd8d8fb23 Mon Sep 17 00:00:00 2001 From: bovlb <31326650+bovlb@users.noreply.github.com> Date: Tue, 26 Apr 2022 21:53:30 -0700 Subject: [PATCH] [hal] Correct documentation on updateNotifierAlarm (#4156) The previous documentation suggested that `triggerTime` is the interval until the next alarm, but the implementation is that it is the absolute alarm time. --- hal/src/main/java/edu/wpi/first/hal/NotifierJNI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/src/main/java/edu/wpi/first/hal/NotifierJNI.java b/hal/src/main/java/edu/wpi/first/hal/NotifierJNI.java index c8f4eef98c..648e8a2671 100644 --- a/hal/src/main/java/edu/wpi/first/hal/NotifierJNI.java +++ b/hal/src/main/java/edu/wpi/first/hal/NotifierJNI.java @@ -52,7 +52,7 @@ public class NotifierJNI extends JNIWrapper { public static native void cleanNotifier(int notifierHandle); /** - * Sets the notifier to wakeup the waiter in another triggerTime microseconds. + * Sets the notifier to wake up the waiter at triggerTime microseconds. * * @param notifierHandle Notifier handle. * @param triggerTime Trigger time in microseconds.