Skip to content

Commit 55b9674

Browse files
committed
Detect the beaglebone black platform running Arch Linux
1 parent 9e8109b commit 55b9674

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)