Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f60d8c0

Browse files
committed
Update platform detection for Arch linux.
1 parent 1379047 commit f60d8c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Adafruit_GPIO/Platform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ def platform_detect():
4545
# Handle pidora distribution.
4646
elif plat.lower().find('raspberry_pi') > -1:
4747
return RASPBERRY_PI
48+
# Handle arch distribution.
49+
elif plat.lower().find('arch-armv6l') > -1:
50+
return RASPBERRY_PI
4851
# Handle Beaglebone Black
4952
# Platform output on Debian ~May 2014:
5053
# Linux-3.8.13-bone47-armv7l-with-debian-7.4

0 commit comments

Comments
 (0)