]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Fix adafruit_platformdetect import error on microcontroller
authoryeyeto2788 <juanernestobiondi@gmail.com>
Tue, 21 Jan 2020 18:22:48 +0000 (19:22 +0100)
committeryeyeto2788 <juanernestobiondi@gmail.com>
Tue, 21 Jan 2020 18:22:48 +0000 (19:22 +0100)
src/microcontroller/pin.py

index 48536a80a7f6a2bd0e5835724e380dff7243793b..e5e2c04e371427b2e5455dc1633d52483e5148e8 100755 (executable)
@@ -1,6 +1,6 @@
 """Pins named after their chip name."""
 
 """Pins named after their chip name."""
 
-import adafruit_platformdetect.chip as ap_chip
+import adafruit_platformdetect.chip.contants as ap_chip
 from adafruit_blinka.agnostic import chip_id
 
 # We intentionally are patching into this namespace so skip the wildcard check.
 from adafruit_blinka.agnostic import chip_id
 
 # We intentionally are patching into this namespace so skip the wildcard check.