Make MyRobot compilation test use TimedRobot (#1363)

IterativeRobot is deprecated.
This commit is contained in:
Tyler Veness
2018-10-12 23:41:05 -07:00
committed by Peter Johnson
parent b9fa3a4398
commit bd9484a2f4
2 changed files with 4 additions and 4 deletions

View File

@@ -5,9 +5,9 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include <frc/IterativeRobot.h>
#include <frc/TimedRobot.h>
class MyRobot : public frc::IterativeRobot {
class MyRobot : public frc::TimedRobot {
/**
* This function is run when the robot is first started up and should be
* used for any initialization code.