mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal,tests] Use waitForProgramStart in tests (#8429)
Change setProgramStarted to accept a boolean so it can be set back to false by tests. This allows properly waiting for program start in tests.
This commit is contained in:
@@ -16,8 +16,8 @@ void WaitForProgramStart() {
|
||||
HALSIM_WaitForProgramStart();
|
||||
}
|
||||
|
||||
void SetProgramStarted() {
|
||||
HALSIM_SetProgramStarted();
|
||||
void SetProgramStarted(bool started) {
|
||||
HALSIM_SetProgramStarted(started);
|
||||
}
|
||||
|
||||
bool GetProgramStarted() {
|
||||
|
||||
Reference in New Issue
Block a user