Skip to content

Commit 6cde03a

Browse files
committed
2 parents 5084033 + d09621e commit 6cde03a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adafruit_platformdetect/chip.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ class Chip:
2727
"""Attempt detection of current chip / CPU."""
2828
def __init__(self, detector):
2929
self.detector = detector
30+
try:
31+
if os.environ['BLINKA_NOVA']:
32+
self._binho = None
33+
except KeyError: # no relevant environment var
34+
pass
3035

3136
@property
3237
def id(self): # pylint: disable=invalid-name,too-many-branches,too-many-return-statements

0 commit comments

Comments
 (0)