cleanup panda types everywhere (#26574)

* cleanup panda types everywhere

* one more
This commit is contained in:
Adeeb Shihadeh
2022-11-21 23:43:24 -08:00
committed by GitHub
parent e9dcabcef7
commit 65fa87a969
6 changed files with 34 additions and 57 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ if __name__ == "__main__":
CP = None
for msg in lr:
if msg.which() == "pandaStates":
if msg.pandaStates[0].pandaType not in ('uno', 'blackPanda', 'dos'):
if msg.pandaStates[0].pandaType in ('unknown', 'whitePanda', 'greyPanda', 'pedal'):
print("wrong panda type")
break