Disable driver station at C++ program start

Change-Id: I56169344e1ee6e791a078de14655c91463bfafd0
This commit is contained in:
thomasclark
2014-06-08 16:40:54 -04:00
parent a3e11f201e
commit cf798049ef

View File

@@ -31,6 +31,8 @@ class DriverStation;
int main() \
{ \
if (!HALInitialize()){std::cerr<<"FATAL ERROR: HAL could not be initialized"<<std::endl;return -1;} \
HALNetworkCommunicationObserveUserProgramStarting(); \
HALReport(HALUsageReporting::kResourceType_Language, HALUsageReporting::kLanguage_CPlusPlus); \
(new _ClassName_())->StartCompetition(); \
return 0; \
}