Add buttons to OI class
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
index ca5f90d78262065dad305b8e5c7255f01bb4249f..cc07893019111c9e88f0115784de98d079981862 100644 (file)
@@ -54,7 +54,7 @@ public class RunFlyWheelContinuous extends Command {
 
   @Override
   protected boolean isFinished() {
-    return false;
+    return !Robot.getOI().toggleFlyWheel.get();
   }
 
 }