mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-29 12:53:42 +08:00
Hyundai CAN: Enable radar tracks for certain Sante Fe platforms at all times
This commit is contained in:
@@ -379,7 +379,7 @@ class CarInterface(CarInterfaceBase):
|
||||
# for enabling radar tracks on startup
|
||||
# some CAN platforms are able to enable radar tracks config at the radar ECU,
|
||||
# but the config is reset after ignition cycle
|
||||
if CP.openpilotLongitudinalControl and (CP.spFlags & HyundaiFlagsSP.SP_RADAR_TRACKS):
|
||||
if CP.spFlags & HyundaiFlagsSP.SP_RADAR_TRACKS:
|
||||
enable_radar_tracks(logcan, sendcan, bus=0, addr=0x7d0, config_data_id=b'\x01\x42')
|
||||
|
||||
def _update(self, c):
|
||||
|
||||
Reference in New Issue
Block a user