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,10 +5,10 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
import edu.wpi.first.wpilibj.IterativeRobot;
|
||||
import edu.wpi.first.wpilibj.TimedRobot;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class MyRobot extends IterativeRobot {
|
||||
public class MyRobot extends 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