Browse Source

Have Binho use its own try block

pull/43/head
Francis G 5 years ago
parent
commit
e6925ab257
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      adafruit_platformdetect/chip.py

+ 6
- 1
adafruit_platformdetect/chip.py View File

@ -48,7 +48,12 @@ class Chip:
'set, but no FT232H device found')
return FT232H
elif os.environ['BLINKA_BINHO']:
except KeyError: # no relevant environment var
pass
# Another special case, if we have an environment var set for BINHO
try:
if os.environ['BLINKA_BINHO']:
# import the Binho libraries
from binhoHostAdapter import binhoHostAdapter


|||||||
x
 
000:0
Loading…
Cancel
Save