]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Fix formatting, 2nd try
authorthomas6g <30746275+thomas6g@users.noreply.github.com>
Sun, 28 Feb 2021 16:45:05 +0000 (16:45 +0000)
committerthomas6g <30746275+thomas6g@users.noreply.github.com>
Sun, 28 Feb 2021 16:45:05 +0000 (16:45 +0000)
src/adafruit_blinka/microcontroller/ft232h/pin.py

index 18c5e3164959611b9e23ca3be1d4c8edf207e792..42ae5abd70e1176e7f6faaf23c3e53a4d5fd98ad 100644 (file)
@@ -39,8 +39,7 @@ class Pin:
             raise RuntimeError("Can not init a None type pin.")
         # FT232H does't have configurable internal pulls?
         if pull:
             raise RuntimeError("Can not init a None type pin.")
         # FT232H does't have configurable internal pulls?
         if pull:
-            raise NotImplementedError(
-                "Internal pull up/down not currently supported.")
+            raise NotImplementedError("Internal pull up/down not currently supported.")
         pin_mask = Pin.ft232h_gpio.pins | 1 << self.id
         current = Pin.ft232h_gpio.direction
         if mode == self.OUT:
         pin_mask = Pin.ft232h_gpio.pins | 1 << self.id
         current = Pin.ft232h_gpio.direction
         if mode == self.OUT: