Start using the new FRC compiler define (#797)

Remove all definitions from the MockData headers when in simulation mode.
Add a constexpr IsReal and IsSimulation in RobotBase.
This commit is contained in:
Thad House
2017-12-08 22:47:21 -08:00
committed by Peter Johnson
parent b42285fddd
commit aa4f0ef4f8
24 changed files with 102 additions and 0 deletions

View File

@@ -7,8 +7,12 @@
#pragma once
#ifndef __FRC_ROBORIO__
extern "C" {
void HALSIM_WaitForProgramStart(void);
void HALSIM_SetProgramStarted(void);
void HALSIM_RestartTiming(void);
} // extern "C"
#endif