[wpilibc] Remove START_ROBOT_CLASS macro (#3384)

This commit is contained in:
Tyler Veness
2021-05-25 20:53:26 -07:00
committed by GitHub
parent 84218bfb45
commit fb2a56e2d6

View File

@@ -101,13 +101,6 @@ int StartRobot() {
return 0;
}
#define START_ROBOT_CLASS(_ClassName_) \
WPI_DEPRECATED("Call frc::StartRobot<" #_ClassName_ \
">() in your own main() instead of using the " \
"START_ROBOT_CLASS(" #_ClassName_ ") macro.") \
int StartRobotClassImpl() { return frc::StartRobot<_ClassName_>(); } \
int main() { return StartRobotClassImpl(); }
/**
* Implement a Robot Program framework.
*