Skip to content

Commit

Permalink
Fixed Build Issue
Browse files Browse the repository at this point in the history
Code refused to build, ran ./gradlew spotlessapply to resolve issue (SUCCESSFULL)
  • Loading branch information
EuphoniumPlayer committed Feb 15, 2024
1 parent 004f7ce commit 87bed9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,3 @@ public void setMotorBrake(boolean brake) {
drivebase.setMotorBrake(brake);
}
}

4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/Intake.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Intake() {

/** Sets the intake motors to 100% power. */
public void enableIntake() {
intakeMotor1.set(MechanismConstants.INTAKE_MOTOR_SPEED*0.66);
intakeMotor1.set(MechanismConstants.INTAKE_MOTOR_SPEED * 0.66);
intakeMotor2.set(MechanismConstants.INTAKE_MOTOR_SPEED);
}

Expand All @@ -36,7 +36,7 @@ public void disableIntake() {

/** Sets the intake motors to -100% power. (Reverse direction) */
public void reverseIntake() {
intakeMotor1.set(-MechanismConstants.INTAKE_MOTOR_SPEED*0.66);
intakeMotor1.set(-MechanismConstants.INTAKE_MOTOR_SPEED * 0.66);
intakeMotor2.set(-MechanismConstants.INTAKE_MOTOR_SPEED);
}

Expand Down

0 comments on commit 87bed9e

Please sign in to comment.