[wpilibcExamples] Prefix decimal numbers with 0 (#3478)

This commit is contained in:
Tyler Veness
2021-07-11 10:38:13 -04:00
committed by GitHub
parent 1adb69c0fd
commit f8f13c536f
6 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ class RobotContainer {
// The robot's subsystems
DriveSubsystem m_drive;
frc2::InstantCommand m_driveHalfSpeed{[this] { m_drive.SetMaxOutput(.5); },
frc2::InstantCommand m_driveHalfSpeed{[this] { m_drive.SetMaxOutput(0.5); },
{}};
frc2::InstantCommand m_driveFullSpeed{[this] { m_drive.SetMaxOutput(1); },
{}};