mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Watchdog.java: add comment fixes from reverted #1442
This commit is contained in:
@@ -76,7 +76,7 @@ public class Watchdog implements Closeable, Comparable<Watchdog> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the time in seconds since the watchdog was last fed.
|
||||
* Returns the time in seconds since the watchdog was last fed.
|
||||
*/
|
||||
public double getTime() {
|
||||
return (RobotController.getFPGATime() - m_startTime) / 1.0e6;
|
||||
@@ -187,7 +187,7 @@ public class Watchdog implements Closeable, Comparable<Watchdog> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable the watchdog.
|
||||
* Disables the watchdog timer.
|
||||
*/
|
||||
public void disable() {
|
||||
m_queueMutex.lock();
|
||||
|
||||
Reference in New Issue
Block a user