mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpilib] Add Timer.isRunning() method (#7220)
This commit is contained in:
@@ -111,6 +111,13 @@ class Timer {
|
||||
*/
|
||||
bool AdvanceIfElapsed(units::second_t period);
|
||||
|
||||
/**
|
||||
* Whether the timer is currently running.
|
||||
*
|
||||
* @return true if running.
|
||||
*/
|
||||
bool IsRunning() const;
|
||||
|
||||
/**
|
||||
* Return the FPGA system clock time in seconds.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user