Skip to content

Commit

Permalink
removed consumer LED
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Mar 19, 2024
1 parent cc052ee commit db7d31a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/frc/robot/subsystems/ShooterSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

import com.revrobotics.CANSparkBase.IdleMode;

import java.util.function.Consumer;

import com.revrobotics.CANSparkFlex;
import com.revrobotics.CANSparkLowLevel.MotorType;

Expand All @@ -20,8 +18,6 @@ public class ShooterSubsystem extends SubsystemBase {
CANSparkFlex m_bottom = new CANSparkFlex(ShooterConstants.kBottomShooterMotorPort, MotorType.kBrushless);
CANSparkFlex m_top = new CANSparkFlex(ShooterConstants.kTopShooterMotorPort, MotorType.kBrushless);

private Consumer<ShootSpeed> consumer;

private double m_topSpeed = 0;
private double m_bottomSpeed = 0;

Expand Down Expand Up @@ -56,8 +52,6 @@ public void setShootingSpeed(ShootSpeed speed) {
m_bottomSpeed = 0.0;
break;
}

consumer.accept(speed);
}

public double returnCurrentSpeed() {
Expand Down

0 comments on commit db7d31a

Please sign in to comment.