mirror of https://github.com/commaai/openpilot.git
remove CarVin parameter
This commit is contained in:
parent
5c1e111d8a
commit
87c6afccf7
|
@ -104,7 +104,6 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||||
{"CarParamsCache", CLEAR_ON_MANAGER_START},
|
{"CarParamsCache", CLEAR_ON_MANAGER_START},
|
||||||
{"CarParamsPersistent", PERSISTENT},
|
{"CarParamsPersistent", PERSISTENT},
|
||||||
{"CarParamsPrevRoute", PERSISTENT},
|
{"CarParamsPrevRoute", PERSISTENT},
|
||||||
{"CarVin", CLEAR_ON_MANAGER_START | CLEAR_ON_ONROAD_TRANSITION},
|
|
||||||
{"CompletedTrainingVersion", PERSISTENT},
|
{"CompletedTrainingVersion", PERSISTENT},
|
||||||
{"ControlsReady", CLEAR_ON_MANAGER_START | CLEAR_ON_ONROAD_TRANSITION},
|
{"ControlsReady", CLEAR_ON_MANAGER_START | CLEAR_ON_ONROAD_TRANSITION},
|
||||||
{"CurrentBootlog", PERSISTENT},
|
{"CurrentBootlog", PERSISTENT},
|
||||||
|
|
|
@ -132,7 +132,6 @@ def fingerprint(logcan, sendcan, num_pandas):
|
||||||
carlog.error({"event": "Malformed VIN", "vin": vin})
|
carlog.error({"event": "Malformed VIN", "vin": vin})
|
||||||
vin = VIN_UNKNOWN
|
vin = VIN_UNKNOWN
|
||||||
carlog.warning("VIN %s", vin)
|
carlog.warning("VIN %s", vin)
|
||||||
params.put("CarVin", vin)
|
|
||||||
|
|
||||||
# disable OBD multiplexing for CAN fingerprinting and potential ECU knockouts
|
# disable OBD multiplexing for CAN fingerprinting and potential ECU knockouts
|
||||||
set_obd_multiplexing(params, False)
|
set_obd_multiplexing(params, False)
|
||||||
|
|
Loading…
Reference in New Issue