Switches PWMs to do scaling at the HAL level. (#143)

This commit is contained in:
Thad House
2016-07-08 21:29:29 -07:00
committed by Peter Johnson
parent be2647d44e
commit 5ad28d58ec
30 changed files with 737 additions and 364 deletions

View File

@@ -27,7 +27,7 @@ Jaguar::Jaguar(uint32_t channel) : PWMSpeedController(channel) {
*/
SetBounds(2.31, 1.55, 1.507, 1.454, .697);
SetPeriodMultiplier(kPeriodMultiplier_1X);
SetRaw(m_centerPwm);
SetSpeed(0.0);
SetZeroLatch();
HALReport(HALUsageReporting::kResourceType_Jaguar, GetChannel());