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,6 +7,8 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
@@ -54,3 +56,5 @@ void HALSIM_RegisterRelayAllCallcbaks(int32_t index,
#ifdef __cplusplus
} // extern "C"
#endif
#endif