aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update_mks_robin.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-07-19 23:59:44 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-07-20 22:18:28 -0400
commit5f2cb5436cf545c2d5efba7994f458b98644ef6f (patch)
treebd7d5d6413a0346ccc1e1b04b11efa5f25c354ff /scripts/update_mks_robin.py
parentbc488c2161147552fc33e3a4fb4ce40b12cbb9a4 (diff)
downloadkutter-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/update_mks_robin.py')
0 files changed, 0 insertions, 0 deletions