mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-05 13:25:40 +08:00
Change access from private to public, allow call from card once again, due to the fact that the flags were being set after interface init, leading to no value being returned, leading to no tune being applied.
Change interfaces accordingly to remove the now unneeded variable in get_params_sp. Changed private local method _get_longitudinal_tuning, to a publically accessible get_longitudinal_tuning method. Added one line call in card.
This commit is contained in:
+1
-1
Submodule opendbc_repo updated: 936abba80f...5d4207c413
@@ -112,6 +112,7 @@ class Car:
|
||||
self.RI = interfaces[self.CI.CP.carFingerprint].RadarInterface(self.CI.CP, self.CI.CP_SP)
|
||||
self.CP = self.CI.CP
|
||||
self.CP_SP = self.CI.CP_SP
|
||||
self.CP_SP = self.CI.get_longitudinal_tuning(self.CP, self.CP_SP)
|
||||
|
||||
# continue onto next fingerprinting step in pandad
|
||||
self.params.put_bool("FirmwareQueryDone", True)
|
||||
|
||||
Reference in New Issue
Block a user