We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f423f59 commit 64c2db0Copy full SHA for 64c2db0
src/adafruit_blinka/microcontroller/allwinner/h618/pin.py
@@ -6,6 +6,7 @@
6
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
7
8
def find_gpiochip_number(target_label):
9
+ """Get correct gpiochip number, legacy kernel and mainline kernel are different"""
10
try:
11
with open('/sys/kernel/debug/gpio', 'r') as f:
12
lines = f.readlines()
0 commit comments