fix locationd profiling

old-commit-hash: 1d7f4bc3b1
commatwo_master
Adeeb Shihadeh 5 years ago
parent bc3b340694
commit 11d808c89d
  1. 1
      selfdrive/test/profiling/lib.py

@ -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

Loading…
Cancel
Save