Skip to content

Commit b9c0541

Browse files
authored
Merge pull request #44 from binhollc/master
Remove circular dependency with Blinka. Connection will be checked in…
2 parents 93c4d5c + 5f540e9 commit b9c0541

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

adafruit_platformdetect/chip.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ def id(self): # pylint: disable=invalid-name,too-many-branches,too-many-return-s
5656
raise RuntimeError('BLINKA_MCP2221 environment variable ' + \
5757
'set, but no MCP2221 device found')
5858
if os.environ.get('BLINKA_NOVA'):
59-
# Check for Nova connection
60-
from adafruit_blinka.microcontroller.nova import Connection
61-
binho = Connection.getInstance()
62-
if binho is None:
63-
raise RuntimeError('BLINKA_NOVA environment variable ' + \
64-
'set, but no NOVA device found')
6559
return BINHO
6660

6761
platform = sys.platform

0 commit comments

Comments
 (0)