mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib] Add Timer.isRunning() method (#7220)
This commit is contained in:
@@ -151,4 +151,13 @@ public class Timer {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the timer is currently running.
|
||||
*
|
||||
* @return true if running.
|
||||
*/
|
||||
public boolean isRunning() {
|
||||
return m_running;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user