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:
discountchubbs
2025-04-02 04:47:09 -07:00
parent 9c82f1bf6a
commit 6e2571f850
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)