Skip to content

Commit 79f4844

Browse files
committed
Issue-93 fixed to use the speedlimiter arg
1 parent be62413 commit 79f4844

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)