Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 7d0b05d

Browse files
committed
Update platform detection to support pidora distro.
1 parent b2f67b8 commit 7d0b05d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Adafruit_GPIO/Platform.py

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def platform_detect():
4242
# Linux-3.10.25+-armv6l-with-debian-7.4
4343
if plat.lower().find('armv6l-with-debian') > -1:
4444
return RASPBERRY_PI
45+
# Handle pidora distribution.
46+
if plat.lower().find('raspberry_pi') > -1:
47+
return RASPBERRY_PI
4548
# Handle Beaglebone Black
4649
# Platform output on Debian ~May 2014:
4750
# Linux-3.8.13-bone47-armv7l-with-debian-7.4

0 commit comments

Comments
 (0)