formatting

main
Zynh0722 2024-03-27 14:04:30 -07:00
parent 2cbc02c3bb
commit 11be5085b5
8 changed files with 17 additions and 21 deletions

View File

@ -16,9 +16,7 @@ void Robot::RobotInit() {}
* <p> This runs after the mode specific periodic functions, but before * <p> This runs after the mode specific periodic functions, but before
* LiveWindow and SmartDashboard integrated updating. * LiveWindow and SmartDashboard integrated updating.
*/ */
void Robot::RobotPeriodic() { void Robot::RobotPeriodic() { frc2::CommandScheduler::GetInstance().Run(); }
frc2::CommandScheduler::GetInstance().Run();
}
/** /**
* This function is called once each time the robot enters Disabled mode. You * This function is called once each time the robot enters Disabled mode. You
@ -74,7 +72,5 @@ void Robot::SimulationInit() {}
void Robot::SimulationPeriodic() {} void Robot::SimulationPeriodic() {}
#ifndef RUNNING_FRC_TESTS #ifndef RUNNING_FRC_TESTS
int main() { int main() { return frc::StartRobot<Robot>(); }
return frc::StartRobot<Robot>();
}
#endif #endif