mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-30 19:33:42 +08:00
cleanup panda types everywhere (#26574)
* cleanup panda types everywhere * one more
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user