mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Changes HAL Headers to be C compliant. (#171)
This commit is contained in:
committed by
Peter Johnson
parent
1b1ee7f9f3
commit
edf5ecd4a0
@@ -17,7 +17,7 @@ class DriverStation;
|
||||
|
||||
#define START_ROBOT_CLASS(_ClassName_) \
|
||||
int main() { \
|
||||
if (!HAL_Initialize()) { \
|
||||
if (!HAL_Initialize(0)) { \
|
||||
std::cerr << "FATAL ERROR: HAL could not be initialized" << std::endl; \
|
||||
return -1; \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user