File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,10 @@ def id(
89
89
)
90
90
if os .environ .get ("BLINKA_GREATFET" ):
91
91
from greatfet import GreatFET
92
+ from greatfet .errors import DeviceNotFoundError
92
93
93
94
try :
94
- gf = GreatFET ()
95
+ _ = GreatFET ()
95
96
return chips .LPC4330
96
97
except DeviceNotFoundError ():
97
98
raise RuntimeError (
Original file line number Diff line number Diff line change 25
25
print ("Is this a generic Linux PC?" , detector .board .GENERIC_LINUX_PC )
26
26
print (
27
27
"Is this an OS environment variable special case?" ,
28
- detector .board .FTDI_FT232H | detector .board .MICROCHIP_MCP2221 | detector .board .BINHO_NOVA | detector .board .GREATFET_ONE ,
28
+ detector .board .FTDI_FT232H
29
+ | detector .board .MICROCHIP_MCP2221
30
+ | detector .board .BINHO_NOVA
31
+ | detector .board .GREATFET_ONE ,
29
32
)
30
33
31
34
if detector .board .any_raspberry_pi :
You can’t perform that action at this time.
0 commit comments