mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -15,11 +15,7 @@
|
||||
CANTalon::CANTalon(int deviceNumber)
|
||||
: m_deviceNumber(deviceNumber),
|
||||
m_impl(new CanTalonSRX(deviceNumber)),
|
||||
m_safetyHelper(new MotorSafetyHelper(this)),
|
||||
m_profile(0),
|
||||
m_controlEnabled(true),
|
||||
m_controlMode(kPercentVbus),
|
||||
m_setPoint(0) {
|
||||
m_safetyHelper(new MotorSafetyHelper(this)) {
|
||||
ApplyControlMode(m_controlMode);
|
||||
m_impl->SetProfileSlotSelect(m_profile);
|
||||
m_isInverted = false;
|
||||
|
||||
Reference in New Issue
Block a user