fix UART hang

This commit is contained in:
George Hotz
2018-01-08 14:53:38 -08:00
parent 09ab8f6290
commit aa0cfadb6b
3 changed files with 14 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ class PandaSerial(object):
def write(self, dat):
#print "W: ", dat.encode("hex")
#print ' pigeon_send("' + ''.join(map(lambda x: "\\x%02X" % ord(x), dat)) + '");'
return self.panda.serial_write(self.port, dat)
def close(self):