mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 21:17:29 +03:00

Eric Hubert reported a bug in that no matter what setting he used to control the speed of a DC motor, it was always running at full speed. There was a bug in the setMotorSpeed() method that did not clear the 'FullOn' bit in the register used for PWM, causing full power to be applied all the time no matter the PWM duty cycle setting. This patch corrects that issue. Signed-off-by: Jon Trulson <jtrulson@ics.com> signed-off-by: Sisinty Sasmita Patra<sisinty.s.patra@intel.com>