fix locationd profiling

pull/1958/head
Adeeb Shihadeh 5 years ago
parent 8e2d344135
commit 1d7f4bc3b1
  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