[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

@@ -38,7 +38,7 @@ void RobotContainer::ConfigureButtonBindings() {
// While holding the shoulder button, drive at half speed
frc2::JoystickButton(&m_driverController, 6)
.WhenPressed([this] { m_drive.SetMaxOutput(.5); })
.WhenPressed([this] { m_drive.SetMaxOutput(0.5); })
.WhenReleased([this] { m_drive.SetMaxOutput(1); });
}