File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -356,9 +356,9 @@ def scan() -> List[Dict[str, Any]]:
356356
357357 # Try to detect target MCU
358358 try :
359- temp_jlink = pylink .JLink ()
360- temp_jlink .open (serial_no = emu .SerialNumber )
361- temp_jlink .set_tif (pylink .enums .JLinkInterfaces .SWD )
359+ # temp_jlink = pylink.JLink()
360+ # temp_jlink.open(serial_no=emu.SerialNumber)
361+ # temp_jlink.set_tif(pylink.enums.JLinkInterfaces.SWD)
362362
363363 # Create temporary programmer instance to use detect_target
364364 # temp_programmer = JLinkProgrammer.__new__(JLinkProgrammer)
@@ -370,7 +370,7 @@ def scan() -> List[Dict[str, Any]]:
370370 # print(f"Detected target for JLink S/N {emu.SerialNumber}: {detected}")
371371 # device_info['target'] = detected
372372
373- temp_jlink .close ()
373+ # temp_jlink.close()
374374 except Exception :
375375 # If detection fails, just skip it
376376 pass
You can’t perform that action at this time.
0 commit comments