X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/ef2657eaa1caf3262c6bbe1f2df5b6ed08f72162..80c9d3d3d4de8d8d1b82c95877e0f0c234c189b1:/src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py diff --git a/src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py b/src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py index 4aca0a2..9bf2602 100644 --- a/src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py +++ b/src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py @@ -158,7 +158,6 @@ class PWMOut: def deinit(self): """Deinit the sysfs PWM.""" if self._channel is not None: - self.duty_cycle = 0 try: channel_path = os.path.join( self._sysfs_path, self._channel_path.format(self._channel)