disable panda flash logging (#30000)

* disable panda flash logging

* bump panda
old-commit-hash: 63068b936b
test-msgs
Adeeb Shihadeh 2 years ago committed by GitHub
parent 03c4bdc0be
commit 8b96b9af7b
  1. 2
      panda
  2. 4
      selfdrive/boardd/pandad.py

@ -1 +1 @@
Subproject commit 546087125ff72877e4273eef78aa03dae5244a22 Subproject commit 62db60595bb5129cc2f295fdc42f2cda473777fd

@ -34,7 +34,9 @@ def read_panda_logs(panda: Panda) -> None:
log_state = {} log_state = {}
try: try:
l = json.loads(params.get("PandaLogState")) ls = params.get("PandaLogState")
if ls is not None:
l = json.loads(ls)
for k, v in l.items(): for k, v in l.items():
if isinstance(k, str) and isinstance(v, int): if isinstance(k, str) and isinstance(v, int):
log_state[k] = v log_state[k] = v

Loading…
Cancel
Save