mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41: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
@@ -48,7 +48,7 @@ bool SafePWM::IsAlive() const { return m_safetyHelper->IsAlive(); }
|
||||
* This is called by the MotorSafetyHelper object when it has a timeout for this
|
||||
* PWM and needs to stop it from running.
|
||||
*/
|
||||
void SafePWM::StopMotor() { SetRaw(kPwmDisabled); }
|
||||
void SafePWM::StopMotor() { SetDisabled(); }
|
||||
|
||||
/**
|
||||
* Enable/disable motor safety for this device.
|
||||
|
||||
Reference in New Issue
Block a user