Kevin O'Connor 5f2cb5436c linux: Disable hardware pwm when it is set to zero
Only write "1" to the "enable" file when a non-zero pwm width is
requested.  Write "0" to the "enable" file when a zero pwm width is
requested.

This fixes a problem on the replicape servo lines that prevented them
from being fully disabled.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-07-20 22:18:28 -04:00
..
2020-05-17 22:17:15 -04:00
2020-05-17 22:17:15 -04:00
2020-05-17 22:17:15 -04:00
2020-05-17 22:17:15 -04:00