From: Kevin Zhang Date: Sun, 24 Jan 2016 00:30:06 +0000 (-0800) Subject: Missed a <= addadded it X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=07ceaad81226c3648a96e4aecb963773b00fe17f Missed a <= addadded it --- 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);