mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
f27df43b5bcdd70c4706a58b74ea73e8c54074e0
Previously enablePWM() wanted m_pwmGenerator to already be non-null on entry. This is impossible as the only place m_pwmGenerator is set is later in this function. Also add correct m_pwmGenerator null checks to disablePWM() and updateDutyCycle(). Change-Id: Ia5bbfdc62824e1cf4c2f503308313b7ef39ae2fe
Description
WPILib - FRC Robotics Library
Languages
C++
53%
Java
32.7%
Python
7.6%
C
2.6%
Jinja
1.6%
Other
2.4%