mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Replaced the START_ROBOT_CLASS() macro with a template function (#1050)
The START_ROBOT_CLASS() macro's main() now calls this function through a deprecated proxy function to encourage users to switch.
This commit is contained in:
committed by
Peter Johnson
parent
64b03704f8
commit
c89678971c
@@ -50,4 +50,4 @@ class Robot : public frc::IterativeRobot {
|
||||
frc::DifferentialDrive m_robotDrive{m_left, m_right};
|
||||
};
|
||||
|
||||
START_ROBOT_CLASS(Robot)
|
||||
int main() { return frc::StartRobot<Robot>(); }
|
||||
|
||||
Reference in New Issue
Block a user