Fix syntax errors in master got in the last merge
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRoughTerrain.java
index a1783de214c36c23b811dbe5133ef09ae3ff5b3d..632974a16be16d282caf00521491eb11cf7923c8 100644 (file)
@@ -26,9 +26,9 @@ public class PassRoughTerrain extends CommandGroup {
 
   public PassRoughTerrain() {
 
-    if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.PASS_ROCK_WALL_TIME,
-          Constants.Auton.passRockWallSpeed));
+    if (Constants.Auton.IS_USING_TIME) {
+      addSequential(new DriveForTime(Constants.Auton.PASS_ROUGH_TERRAIN_TIME,
+          Constants.Auton.PASS_ROUGH_TERRAIN_SPEED));
     }
     else {
       addSequential(new DriveDistance(