mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-27 14:13:54 +08:00
openpilot v0.7.9 release
This commit is contained in:
@@ -24,7 +24,7 @@ class PandaDFU(object):
|
||||
self._handle = device.open()
|
||||
self.legacy = "07*128Kg" in self._handle.getASCIIStringDescriptor(4)
|
||||
return
|
||||
raise Exception("failed to open " + dfu_serial)
|
||||
raise Exception("failed to open " + dfu_serial if dfu_serial is not None else "DFU device")
|
||||
|
||||
@staticmethod
|
||||
def list():
|
||||
|
||||
Reference in New Issue
Block a user