mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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