mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[sim] Provide method to set the runtime type (#2539)
This is needed for extensions that effectively access real hardware and want to disable the "simulation" parts of user code.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
namespace frc {
|
||||
namespace sim {
|
||||
|
||||
void SetRuntimeType(HAL_RuntimeType type) { HALSIM_SetRuntimeType(type); }
|
||||
|
||||
void WaitForProgramStart() { HALSIM_WaitForProgramStart(); }
|
||||
|
||||
void SetProgramStarted() { HALSIM_SetProgramStarted(); }
|
||||
|
||||
Reference in New Issue
Block a user