diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-07-19 23:59:44 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-07-20 22:18:28 -0400 |
commit | 5f2cb5436cf545c2d5efba7994f458b98644ef6f (patch) | |
tree | bd7d5d6413a0346ccc1e1b04b11efa5f25c354ff /scripts | |
parent | bc488c2161147552fc33e3a4fb4ce40b12cbb9a4 (diff) | |
download | kutter-5f2cb5436cf545c2d5efba7994f458b98644ef6f.tar.gz kutter-5f2cb5436cf545c2d5efba7994f458b98644ef6f.tar.xz kutter-5f2cb5436cf545c2d5efba7994f458b98644ef6f.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions