Skip to content

Commit

Permalink
Nissan: use bus 0 to fingerprint (commaai#31243)
Browse files Browse the repository at this point in the history
* Nissan: use bus 0 to fingerprint

* update refs

* switch OBD query to be logging instead, might want OBD logging for one more release
  • Loading branch information
sshane authored Feb 1, 2024
1 parent 6010a39 commit 7222eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/nissan/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class NissanCarInfo(CarInfo):
NISSAN_RX_OFFSET = 0x20

FW_QUERY_CONFIG = FwQueryConfig(
requests=[request for bus, logging in ((0, True), (1, False)) for request in [
requests=[request for bus, logging in ((0, False), (1, True)) for request in [
Request(
[NISSAN_DIAGNOSTIC_REQUEST_KWP, NISSAN_VERSION_REQUEST_KWP],
[NISSAN_DIAGNOSTIC_RESPONSE_KWP, NISSAN_VERSION_RESPONSE_KWP],
Expand Down

0 comments on commit 7222eb3

Please sign in to comment.