mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibc] Remove START_ROBOT_CLASS macro (#3384)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user