mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[wpilib] Add TimedRobot unit tests (#2771)
To make the tests reliable, the synchronization in simulation Notifiers had to be reworked. StepTiming() now waits for all Notifiers to reach HAL_WaitForNotifierAlarm(), then steps the time, then lets any expired Notifiers run. While there, we made some variable names more descriptive and added more comments.
This commit is contained in:
@@ -11,5 +11,6 @@ namespace hal {
|
||||
void PauseNotifiers();
|
||||
void ResumeNotifiers();
|
||||
void WakeupNotifiers();
|
||||
void WaitNotifiers();
|
||||
void WakeupWaitNotifiers();
|
||||
} // namespace hal
|
||||
|
||||
Reference in New Issue
Block a user