]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/amlogic/meson_g12_common/pulseio/PulseIn.py
fixes after heads up : https://github.com/adafruit/Adafruit_Blinka/pull/678#issuecomm...
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / amlogic / meson_g12_common / pulseio / PulseIn.py
index 7d6ad9c324d6fdb05aee30bbb8c1178c241b4aab..ae82f1cc38933ed648fa1e26b75cc8b65065473a 100644 (file)
@@ -38,14 +38,14 @@ class PulseIn:
         a given max length. When it is active, new pulse lengths are
         added to the end of the list. When there is no more room
         (len() == maxlen) the oldest pulse length is removed to make room."""
-                
+
         if isinstance(pin.id, tuple):
             self._pin = str(pin.id[1])
             self._chip = "gpiochip{}".format(pin.id[0])
         else:
             self._pin = str(pin.id)
             self._chip = "gpiochip0"
-        
+
         self._maxlen = maxlen
         self._idle_state = idle_state
         self._queue_key = random.randint(1, 9999)