[wpilib] Rename DoubleSolenoid.Value constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 17:10:58 -07:00
parent c5738fcbad
commit d86a745328
32 changed files with 155 additions and 155 deletions

View File

@@ -45,9 +45,9 @@ void Robot::TeleopPeriodic() {
* If a button is pressed, set the solenoid to the respective channel.
*/
if (m_stick.GetRawButtonPressed(kDoubleSolenoidForward)) {
m_doubleSolenoid.Set(wpi::DoubleSolenoid::kForward);
m_doubleSolenoid.Set(wpi::DoubleSolenoid::FORWARD);
} else if (m_stick.GetRawButtonPressed(kDoubleSolenoidReverse)) {
m_doubleSolenoid.Set(wpi::DoubleSolenoid::kReverse);
m_doubleSolenoid.Set(wpi::DoubleSolenoid::REVERSE);
}
// On button press, toggle the compressor with the mode selected from the