Skip to content

Commit

Permalink
Merge pull request dotnet#1 from JohanBas/patch-1
Browse files Browse the repository at this point in the history
Update platform_detect.py
  • Loading branch information
tdicola committed Jul 15, 2014
2 parents 2de5c1d + 3591833 commit 6988ade
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Adafruit_DHT/platform_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@ def platform_detect(plat=platform.platform()):
# Linux-3.8.13-bone47-armv7l-with-debian-7.4
elif plat.lower().find('armv7l-with-debian') > -1:
return BEAGLEBONE_BLACK
# Handle Beaglebone Black
# Platform output on Ubuntu ~July 2014:
# Linux-3.8.13-bone56-armv7l-with-Ubuntu-14.04-trusty
elif plat.lower().find('armv7l-with-Ubuntu') > -1:
return BEAGLEBONE_BLACK
else:
return UNKNOWN

0 comments on commit 6988ade

Please sign in to comment.