mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-20 12:22:04 +08:00
dragonpilot beta3
date: 2024-08-20T11:22:58 commit: dc76c1d6216e3766209a450c29dc9dafb696ef19
This commit is contained in:
committed by
Comma Device
parent
0f94adf3e2
commit
c58f481a80
+1
-1
@@ -99,7 +99,7 @@ class CcpClient():
|
||||
msgs = self._panda.can_recv() or []
|
||||
if len(msgs) >= 256:
|
||||
print("CAN RX buffer overflow!!!", file=sys.stderr)
|
||||
for rx_addr, _, rx_data_bytearray, rx_bus in msgs:
|
||||
for rx_addr, rx_data_bytearray, rx_bus in msgs:
|
||||
if rx_bus == self.can_bus and rx_addr == self.rx_addr:
|
||||
rx_data = bytes(rx_data_bytearray)
|
||||
if self.debug:
|
||||
|
||||
Reference in New Issue
Block a user