Update file interface.py

This commit is contained in:
2025-06-02 07:37:14 +08:00
parent 0e67e7bf31
commit 58d1f600dc

View File

@@ -61,7 +61,7 @@ class CarInterface(CarInterfaceBase):
else:
ret.transmissionType = TransmissionType.manual
if fingerprint[1] for msg in (0x40, 0x86, 0xB2, 0xFD): # Airbag_01, LWI_01, ESP_19, ESP_21
if any(fingerprint[1] for msg in (0x40, 0x86, 0xB2, 0xFD)): # Airbag_01, LWI_01, ESP_19, ESP_21
ret.networkLocation = NetworkLocation.gateway
else:
ret.networkLocation = NetworkLocation.fwdCamera