Skip to content

Commit

Permalink
round 3: made indexer actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoHan2491 committed Jan 30, 2024
1 parent b52ab53 commit 9bfdaf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/subsystems/IndexerSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

public class IndexerSubsystem extends SubsystemBase {
CANSparkMax m_IndexerMotor;
boolean Indexer;

public IndexerSubsystem() {
CANSparkMax indexerMotor = new CANSparkMax(IndexerConstants.INDEXER_MOTOR, MotorType.kBrushless);
indexerMotor = m_IndexerMotor;
m_IndexerMotor = new CANSparkMax(IndexerConstants.INDEXER_MOTOR, MotorType.kBrushless);
}

public double getInchesFromSensor() {
Expand Down

0 comments on commit 9bfdaf0

Please sign in to comment.