X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FRunFlyWheelContinuous.java;h=cc07893019111c9e88f0115784de98d079981862;hp=ca5f90d78262065dad305b8e5c7255f01bb4249f;hb=7099e02a8b14f48b551bef594b71a4bb3d6c5b8d;hpb=08a5c955ede8f12caeec501cb2e7e43bac69e6b6 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java index ca5f90d..cc07893 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java @@ -54,7 +54,7 @@ public class RunFlyWheelContinuous extends Command { @Override protected boolean isFinished() { - return false; + return !Robot.getOI().toggleFlyWheel.get(); } }