From 57ef72d4039070daa05a4d7797afbc702646a708 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 26 Feb 2015 09:03:12 -0500 Subject: [PATCH] Variable name change --- Subsystems/Pneumatics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{