mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Switches PWMs to do scaling at the HAL level. (#143)
This commit is contained in:
committed by
Peter Johnson
parent
be2647d44e
commit
5ad28d58ec
@@ -37,7 +37,7 @@ float PWMSpeedController::Get() const { return GetSpeed(); }
|
||||
/**
|
||||
* Common interface for disabling a motor.
|
||||
*/
|
||||
void PWMSpeedController::Disable() { SetRaw(kPwmDisabled); }
|
||||
void PWMSpeedController::Disable() { SetDisabled(); }
|
||||
|
||||
/**
|
||||
* Common interface for inverting direction of a speed controller.
|
||||
|
||||
Reference in New Issue
Block a user