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

@@ -181,7 +181,6 @@ class Panda(object):
self._serial = this_serial
print("opening device", self._serial, hex(device.getProductID()))
self.bootstub = device.getProductID() == 0xddee
self.legacy = (device.getbcdDevice() != 0x2300)
self._handle = device.open()
if sys.platform not in ["win32", "cygwin", "msys", "darwin"]:
self._handle.setAutoDetachKernelDriver(True)