mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
@@ -179,6 +179,8 @@ def main() -> NoReturn:
|
||||
|
||||
while 1:
|
||||
opcode, payload = diag.recv()
|
||||
if opcode != DIAG_LOG_F:
|
||||
cloudlog.exception(f"Unhandled opcode: {opcode}")
|
||||
assert opcode == DIAG_LOG_F
|
||||
|
||||
(pending_msgs, log_outer_length), inner_log_packet = unpack_from('<BH', payload), payload[calcsize('<BH'):]
|
||||
|
||||
Reference in New Issue
Block a user