Merge panda subtree

old-commit-hash: 97a289e6a9
This commit is contained in:
Vehicle Researcher
2019-10-31 17:02:31 -07:00
123 changed files with 2974 additions and 425 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
import os
import usb1
import struct
import time
import binascii
# *** DFU mode ***
@@ -116,6 +114,6 @@ class PandaDFU(object):
self.status()
try:
self._handle.controlWrite(0x21, DFU_DNLOAD, 2, 0, b"")
stat = str(self._handle.controlRead(0x21, DFU_GETSTATUS, 0, 0, 6))
_ = str(self._handle.controlRead(0x21, DFU_GETSTATUS, 0, 0, 6))
except Exception:
pass