Skip to content
This repository was archived by the owner on Dec 7, 2024. It is now read-only.

Commit b56d301

Browse files
authored
Merge pull request #4 from wolfgang42/patch-1
Java Limit Switch: Fix reverse limit status
2 parents 5902336 + d7f8a6f commit b56d301

File tree

1 file changed

+1
-1
lines changed
  • Java/Limit Switch/src/main/java/frc/robot

1 file changed

+1
-1
lines changed

Java/Limit Switch/src/main/java/frc/robot/Robot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ public void teleopPeriodic() {
8282
* have a switch connected. get() will return false when the switch is released.
8383
*/
8484
SmartDashboard.putBoolean("Forward Limit Switch", m_forwardLimit.get());
85-
SmartDashboard.putBoolean("Reverse Limit Switch", m_forwardLimit.get());
85+
SmartDashboard.putBoolean("Reverse Limit Switch", m_reverseLimit.get());
8686
}
8787
}

0 commit comments

Comments
 (0)