Skip to content

Commit 9cfa5ac

Browse files
authored
Merge pull request #76 from rhauch/correct-talonsrx-limit-switches
Correct Talon SRX limit switches
2 parents 2974c64 + 676b520 commit 9cfa5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strongback/src/org/strongback/hardware/HardwareTalonSRX.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ protected static AnalogInputSensor analogInput(DoubleSupplier analogPosition, Do
212212
HardwareTalonSRX(CANTalon talon, double pulsesPerDegree, double analogTurnsOverVoltageRange) {
213213
this.talon = talon;
214214

215-
this.forwardLimitSwitch = talon::isRevLimitSwitchClosed;
216-
this.reverseLimitSwitch = talon::isFwdLimitSwitchClosed;
215+
this.forwardLimitSwitch = talon::isFwdLimitSwitchClosed;
216+
this.reverseLimitSwitch = talon::isRevLimitSwitchClosed;
217217
this.outputCurrent = talon::getOutputCurrent;
218218
this.outputVoltage = talon::getOutputVoltage;
219219
this.busVoltage = talon::getBusVoltage;

0 commit comments

Comments
 (0)