diff --git a/Subsystems/Pneumatics.cpp b/Subsystems/Pneumatics.cpp index 8ae164d..93dab86 100644 --- a/Subsystems/Pneumatics.cpp +++ b/Subsystems/Pneumatics.cpp @@ -7,8 +7,8 @@ Pneumatics::Pneumatics() : Subsystem("Pneumatics"){ } void Pneumatics::InitDefaultCommand(){ } -void Pneumatics::SetOpen(bool k){ - if(k){ +void Pneumatics::SetOpen(bool state){ + if(state){ solenoid1->Set(true); solenoid2->Set(false); }else{