Fix syntax errors in master got in the last merge
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index e5af033e9a85272f118ee7925e360a6b2b6d5b51..ec467836653fa8977f97c9cc953e1bce7079fdef 100755 (executable)
@@ -26,13 +26,13 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
-          Constants.Auton.passRockWallSpeed));
+    if (Constants.Auton.IS_USING_TIME) {
+      addSequential(new DriveForTime(Constants.Auton.PASS_RAMPART_TIME,
+          Constants.Auton.PASS_RAMPART_SPEED));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.Auton.passRampartDistance,
+          Constants.Auton.PASS_RAMPART_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }