fix indexing piston code
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / subsystems / Shooter.java
index f457ba57c57cf04b7fd472f3d8980661a158e412..adca18f2c2253d55dae55bd31d90fdc18afb02f4 100644 (file)
@@ -31,7 +31,7 @@ public class Shooter extends Subsystem {
 
     hallEffect = new HallEffectSensor(Constants.Shooter.HALL_EFFECT_PORT, 1);
 
-    piston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
+    piston = new DoubleSolenoid(Constants.Shooter.MODULE_NUMBER,
         Constants.Shooter.PISTON_FORWARD, Constants.Shooter.PISTON_REVERSE);
   }