From 8cbd294489e07fc1dc8ee9e7abc46861718843cb Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 2 Dec 2023 10:52:02 -0800 Subject: [PATCH] explicitly set to invalid --- messaging/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/messaging/__init__.py b/messaging/__init__.py index cc14904..139f9d3 100644 --- a/messaging/__init__.py +++ b/messaging/__init__.py @@ -43,6 +43,7 @@ def log_from_bytes(dat: bytes) -> capnp.lib.capnp._DynamicStructReader: def new_message(service: str, size: Optional[int] = None) -> capnp.lib.capnp._DynamicStructBuilder: dat = log.Event.new_message() + dat.valid = False dat.logMonoTime = int(time.monotonic() * 1e9) if size is None: dat.init(service)