]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
typo fix
authorladyada <limor@ladyada.net>
Sun, 2 Dec 2018 05:32:56 +0000 (00:32 -0500)
committerladyada <limor@ladyada.net>
Sun, 2 Dec 2018 05:32:56 +0000 (00:32 -0500)
src/adafruit_blinka/microcontroller/generic_linux/libgpiod_pin.py

index b2862e895d0025be1a5904b7ef61fe4ee06995c4..396a94c63e3510a61794281c984a42eabf7df1f3 100644 (file)
@@ -42,7 +42,7 @@ class Pin:
                     if pull == self.PULL_UP:
                         raise NotImplementedError("Internal pullups not supported in libgpiod, use physical resistor instead!")
                     elif pull == self.PULL_DOWN:
                     if pull == self.PULL_UP:
                         raise NotImplementedError("Internal pullups not supported in libgpiod, use physical resistor instead!")
                     elif pull == self.PULL_DOWN:
-                        raise NotImplementedError("Internal pullups not supported in libgpiod, use physical resistor instead!")                    
+                        raise NotImplementedError("Internal pulldowns not supported in libgpiod, use physical resistor instead!")                    
                     else:
                         raise RuntimeError("Invalid pull for pin: %s" % self.id)
 
                     else:
                         raise RuntimeError("Invalid pull for pin: %s" % self.id)