adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
439 stars 327 forks source link

generic_linux: pwmout: Remove duty-cycle reset in deinit flow #756

Closed how2flow closed 6 months ago

how2flow commented 6 months ago

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.