From 07ceaad81226c3648a96e4aecb963773b00fe17f Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sat, 23 Jan 2016 16:30:06 -0800 Subject: [PATCH] Missed a <= addadded it --- src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index ef27bf92..68c1d51a 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -40,7 +40,7 @@ public class Shooter extends Subsystem { double newSpeed = getCurrentSetPoint() + change; if (newSpeed > 1.0) shooter.set(1.0); - else if (newSpeed <= -1.0) + else if (newSpeed < -1.0) shooter.set(-1.0); else { setSpeed(newSpeed); -- 2.30.2