fix locationd profiling

old-commit-hash: 1d7f4bc3b19d38464513c377511836221f77a95a
This commit is contained in:
Adeeb Shihadeh
2020-07-30 18:24:07 -07:00
parent bc3b340694
commit 11d808c89d
+1
View File
@@ -37,6 +37,7 @@ class PubSocket():
class SubMaster(messaging.SubMaster):
def __init__(self, msgs, trigger, services): # pylint: disable=super-init-not-called
msgs = [m for m in msgs if m.which() in services]
self.max_i = len(msgs) - 1
self.i = 0
self.frame = 0