add timeout input to runWinchContinuous
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / OI.java
index cb23990c52fdbac76ed9319141505cd52cd8c599..ad43c2a1ef3f163b884781742b6c721fa7502cb1 100644 (file)
@@ -131,7 +131,7 @@ public class OI {
       // intake button stops the winch
       // shoot button extends the lift
       toggleShooter.whenPressed(new RunWinchContinuous(
-          Constants.Scaler.WINCH_IN_SPEED));
+          Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
       compactRobot_1.whenPressed(new RetractLift());
       compactRobot_2.whenPressed(new RetractLift());