Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2de5c1d + 3591833 commit 6988adeCopy full SHA for 6988ade
Adafruit_DHT/platform_detect.py
@@ -39,5 +39,10 @@ def platform_detect(plat=platform.platform()):
39
# Linux-3.8.13-bone47-armv7l-with-debian-7.4
40
elif plat.lower().find('armv7l-with-debian') > -1:
41
return BEAGLEBONE_BLACK
42
+ # Handle Beaglebone Black
43
+ # Platform output on Ubuntu ~July 2014:
44
+ # Linux-3.8.13-bone56-armv7l-with-Ubuntu-14.04-trusty
45
+ elif plat.lower().find('armv7l-with-Ubuntu') > -1:
46
+ return BEAGLEBONE_BLACK
47
else:
48
return UNKNOWN
0 commit comments