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

Commit 310c59b

Browse files
authored
Merge pull request #34 from iorbitearth/master
Detect the beaglebone black platform running Arch Linux
2 parents 950f841 + 55b9674 commit 310c59b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Adafruit_DHT/platform_detect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ def platform_detect():
5151
return BEAGLEBONE_BLACK
5252
elif plat.lower().find('armv7l-with-glibc2.4') > -1:
5353
return BEAGLEBONE_BLACK
54-
54+
elif plat.lower().find('armv7l-with-arch') > -1:
55+
return BEAGLEBONE_BLACK
56+
5557
# Couldn't figure out the platform, just return unknown.
5658
return UNKNOWN
5759

0 commit comments

Comments
 (0)