Skip to content

Commit c827eb9

Browse files
authored
Merge pull request #94 from dfuglsang/issue-93
Issue-93 fixed to use the speedlimiter arg
2 parents be62413 + 79f4844 commit c827eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strongback/src/org/strongback/hardware/Hardware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ public static Motor victorSP(int channel) {
570570
* @return a motor on the specified channel
571571
*/
572572
public static Motor victorSP(int channel, DoubleToDoubleFunction speedLimiter) {
573-
return new HardwareMotor(new VictorSP(channel), SPEED_LIMITER);
573+
return new HardwareMotor(new VictorSP(channel), speedLimiter);
574574
}
575575

576576
/**

0 commit comments

Comments
 (0)