mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user