mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -24,7 +24,6 @@ const int32_t PWM::kPwmDisabled;
|
||||
*/
|
||||
void PWM::InitPWM(uint32_t channel)
|
||||
{
|
||||
m_table = nullptr;
|
||||
char buf[64];
|
||||
|
||||
if (!CheckPWMChannel(channel))
|
||||
@@ -52,15 +51,6 @@ PWM::PWM(uint32_t channel)
|
||||
InitPWM(channel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Free the PWM channel.
|
||||
*
|
||||
* Free the resource associated with the PWM channel and set the value to 0.
|
||||
*/
|
||||
PWM::~PWM()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Optionally eliminate the deadband from a speed controller.
|
||||
* @param eliminateDeadband If true, set the motor curve on the Jaguar to eliminate
|
||||
|
||||
Reference in New Issue
Block a user