]> Repositories - Adafruit_Blinka-hackapet.git/commit
generic_linux: pwmout: Remove duty-cycle reset in deinit flow
authorSteve Jeong <steve@how2flow.net>
Fri, 15 Dec 2023 01:45:11 +0000 (01:45 +0000)
committerSteve Jeong <steve@how2flow.net>
Fri, 15 Dec 2023 01:45:11 +0000 (01:45 +0000)
commit869fb8c260870faeca7c61f346f729a713419b7c
tree1a63af7d74405ee00ba9eaa462b896642355d12b
parent2110b0ecfe874b2ad56b54ad5174db8cdff9a95b
generic_linux: pwmout: Remove duty-cycle reset in deinit flow

The 'deinit' function is called each time a property value is read and written.
However, the duty cycle continues to reset, so the sysfs PWM does not work properly.

Signed-off-by: Steve Jeong <steve@how2flow.net>
src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py