not ready for this one yet

This commit is contained in:
Adeeb Shihadeh 2023-12-02 22:35:51 -08:00
parent 8fae7b4de9
commit 51fd6728f1
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@ class SubMaster:
self.data[s] = getattr(data.as_reader(), s)
self.logMonoTime[s] = 0
self.valid[s] = data.valid
# TODO: this should default to False
self.valid[s] = True
def __getitem__(self, s: str) -> capnp.lib.capnp._DynamicStructReader:
return self.data[s]