mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Make MyRobot compilation test use TimedRobot (#1363)
IterativeRobot is deprecated.
This commit is contained in:
committed by
Peter Johnson
parent
b9fa3a4398
commit
bd9484a2f4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user