We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a4af9 commit 2092c8bCopy full SHA for 2092c8b
src/adafruit_blinka/microcontroller/allwinner/h618/pin.py
@@ -23,8 +23,10 @@ def find_gpiochip_number(target_label):
23
24
return gpiochip_number
25
26
-__chip_num = 1
27
-__chip_num = gpiochip_number = find_gpiochip_number("300b000.pinctrl")
+if find_gpiochip_number("300b000.pinctrl"):
+ __chip_num = 1
28
+else:
29
+ __chip_num = 0
30
31
PC0 = Pin((__chip_num, 64))
32
SPI0_SCLK = PC0
0 commit comments