]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py
Add timout loop after exporting the PWM pin.
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / generic_linux / sysfs_pwmout.py
index 1344f4faf9216ee6e16dedc347886e22f9b4fd22..2d58621c010686c3ce389e170eb627e3f90e5500 100644 (file)
@@ -32,16 +32,6 @@ class PWMOut:
     # Delay between check for scucessful PWM export on open (100ms)
     PWM_STAT_DELAY = 0.1
 
-    # Number of retries to check for successful PWM export on open
-    PWM_STAT_RETRIES = 10
-    # Delay between check for scucessful PWM export on open (100ms)
-    PWM_STAT_DELAY = 0.1
-
-    # Number of retries to check for successful PWM export on open
-    PWM_STAT_RETRIES = 10
-    # Delay between check for scucessful PWM export on open (100ms)
-    PWM_STAT_DELAY = 0.1
-
     # Sysfs paths
     _sysfs_path = "/sys/class/pwm/"
     _channel_path = "pwmchip{}"