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:40:51 +0000 (10:40 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

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