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-07-10 16:08:18 -04:00
2019-08-06 18:56:53 -04:00
2020-01-13 22:29:50 -05:00
2019-04-05 19:02:48 -04:00
2019-08-06 18:56:53 -04:00
2019-08-06 18:56:53 -04:00
2019-09-01 14:56:09 -04:00