Deprecate bcdDevice and legacy mode from panda lib and tests (#692)

This commit is contained in:
Igor
2021-07-14 13:30:59 -07:00
committed by GitHub
parent 9f781e9e7e
commit da8a76f1b3
3 changed files with 1 additions and 12 deletions

View File

@@ -22,7 +22,6 @@ class PandaDFU(object):
continue
if this_dfu_serial == dfu_serial or dfu_serial is None:
self._handle = device.open()
self.legacy = "07*128Kg" in self._handle.getASCIIStringDescriptor(4)
return
raise Exception("failed to open " + dfu_serial if dfu_serial is not None else "DFU device")