2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2020-07-07 21:49:05 -07:00
|
|
|
|
|
|
|
|
#include "hal/simulation/MockHooks.h"
|
|
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
|
|
void HALSIM_SetRuntimeType(HAL_RuntimeType type) {}
|
|
|
|
|
|
|
|
|
|
void HALSIM_WaitForProgramStart(void) {}
|
|
|
|
|
|
|
|
|
|
void HALSIM_SetProgramStarted(void) {}
|
|
|
|
|
|
2020-12-28 12:58:06 -08:00
|
|
|
HAL_Bool HALSIM_GetProgramStarted(void) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2020-07-07 21:49:05 -07:00
|
|
|
|
|
|
|
|
void HALSIM_RestartTiming(void) {}
|
|
|
|
|
|
|
|
|
|
void HALSIM_PauseTiming(void) {}
|
|
|
|
|
|
|
|
|
|
void HALSIM_ResumeTiming(void) {}
|
|
|
|
|
|
2020-12-28 12:58:06 -08:00
|
|
|
HAL_Bool HALSIM_IsTimingPaused(void) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2020-07-07 21:49:05 -07:00
|
|
|
|
|
|
|
|
void HALSIM_StepTiming(uint64_t delta) {}
|
|
|
|
|
|
2020-09-27 13:27:53 -07:00
|
|
|
void HALSIM_StepTimingAsync(uint64_t delta) {}
|
|
|
|
|
|
2020-07-07 21:49:05 -07:00
|
|
|
void HALSIM_SetSendError(HALSIM_SendErrorHandler handler) {}
|
|
|
|
|
|
|
|
|
|
void HALSIM_SetSendConsoleLine(HALSIM_SendConsoleLineHandler handler) {}
|
|
|
|
|
|
2020-11-30 23:55:36 -08:00
|
|
|
int32_t HALSIM_RegisterSimPeriodicBeforeCallback(
|
|
|
|
|
HALSIM_SimPeriodicCallback callback, void* param) {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void HALSIM_CancelSimPeriodicBeforeCallback(int32_t uid) {}
|
|
|
|
|
|
|
|
|
|
int32_t HALSIM_RegisterSimPeriodicAfterCallback(
|
|
|
|
|
HALSIM_SimPeriodicCallback callback, void* param) {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void HALSIM_CancelSimPeriodicAfterCallback(int32_t uid) {}
|
|
|
|
|
|
2022-02-23 12:46:01 -05:00
|
|
|
void HALSIM_CancelAllSimPeriodicCallbacks(void) {}
|
|
|
|
|
|
2020-07-07 21:49:05 -07:00
|
|
|
} // extern "C"
|