Update interface.py

This commit is contained in:
马威 2024-11-22 23:12:08 +08:00 committed by GitHub
parent b5e840730d
commit f5d3afc676
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class CarInterface(CarInterfaceBase):
if any(msg in 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.gatewa
ret.networkLocation = NetworkLocation.gateway
if 0x126 in fingerprint[2]: # HCA_01
ret.flags |= VolkswagenFlags.STOCK_HCA_PRESENT.value