mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-08 09:45:54 +08:00
Dos (#1795)
This commit is contained in:
@@ -26,7 +26,7 @@ def steer_thread():
|
||||
|
||||
# wait for health and CAN packets
|
||||
hw_type = messaging.recv_one(health).health.hwType
|
||||
has_relay = hw_type in [HwType.blackPanda, HwType.uno]
|
||||
has_relay = hw_type in [HwType.blackPanda, HwType.uno, HwType.dos]
|
||||
print("Waiting for CAN messages...")
|
||||
messaging.get_one_can(logcan)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user