use driveTrain var instead of DriveTrain static
authorEvanYap <evanyap.14@gmail.com>
Sat, 4 Feb 2017 23:38:40 +0000 (15:38 -0800)
committerEric Sandoval <harpnart@gmail.com>
Sun, 19 Feb 2017 18:45:59 +0000 (10:45 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index f505ed2207f35b5cced47716c13fc4bf08068d4a..1eb3df8c6a4eededda962e31fa1e65941a4f5ef8 100644 (file)
@@ -17,7 +17,7 @@ public class Robot extends IterativeRobot {
 
   @Override
   public void robotInit() {
-    driveTrain = DriveTrain.getDriveTrain();
+    driveTrain = driveTrain;
     oi = OI.getOI();
     shooter = Shooter.getShooter();
     intake = Intake.getIntake();