diff --git a/myRobot/src/main/java/MyRobot.java b/myRobot/src/main/java/MyRobot.java index 50fe72b41f..fc69d42481 100644 --- a/myRobot/src/main/java/MyRobot.java +++ b/myRobot/src/main/java/MyRobot.java @@ -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. diff --git a/myRobot/src/main/native/cpp/MyRobot.cpp b/myRobot/src/main/native/cpp/MyRobot.cpp index f9587e8be5..ff066d8844 100644 --- a/myRobot/src/main/native/cpp/MyRobot.cpp +++ b/myRobot/src/main/native/cpp/MyRobot.cpp @@ -5,9 +5,9 @@ /* the project. */ /*----------------------------------------------------------------------------*/ -#include +#include -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.