diff --git a/hal/src/main/native/include/simulation/SimHooks.h b/hal/src/main/native/include/simulation/SimHooks.h index 537cef3ca9..8acbf4d3ae 100644 --- a/hal/src/main/native/include/simulation/SimHooks.h +++ b/hal/src/main/native/include/simulation/SimHooks.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -20,5 +20,13 @@ bool GetProgramStarted() { return HALSIM_GetProgramStarted(); } void RestartTiming() { HALSIM_RestartTiming(); } +void PauseTiming() { HALSIM_PauseTiming(); } + +void ResumeTiming() { HALSIM_ResumeTiming(); } + +bool IsTimingPaused() { return HALSIM_IsTimingPaused(); } + +void StepTiming(uint64_t delta) { HALSIM_StepTiming(delta); } + } // namespace sim } // namespace frc