X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/79a1a7c38a3a62604c568e899a540a8312919726..894f0e269eed2d7a742c76ac676871d47688bfb8:/src/adafruit_blinka/microcontroller/ft232h/pin.py diff --git a/src/adafruit_blinka/microcontroller/ft232h/pin.py b/src/adafruit_blinka/microcontroller/ft232h/pin.py index 6def23f..18c5e31 100644 --- a/src/adafruit_blinka/microcontroller/ft232h/pin.py +++ b/src/adafruit_blinka/microcontroller/ft232h/pin.py @@ -9,7 +9,7 @@ class Pin: LOW = 0 HIGH = 1 PULL_NONE = 0 - PULL_UP = 1 + PULL_UP = 1 PULL_DOWN = 2 ft232h_gpio = None @@ -39,7 +39,8 @@ class Pin: 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: