From 74723d7fb277907e174c021af14ecbcdb54f1586 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Tue, 21 Jan 2025 12:24:23 -0500 Subject: [PATCH] fix --- selfdrive/car/card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/card.py b/selfdrive/car/card.py index cd12c688f9..1313a35a53 100755 --- a/selfdrive/car/card.py +++ b/selfdrive/car/card.py @@ -173,7 +173,7 @@ class Car: # Write CarParamsSP for controls # convert to pycapnp representation for caching and logging - self.CP_capnp = convert_to_capnp(self.CP) + self.CP_SP_capnp = convert_to_capnp(self.CP_SP) cp_sp_bytes = self.CP_SP_capnp.to_bytes() self.params.put("CarParamsSP", cp_sp_bytes) self.params.put_nonblocking("CarParamsSPCache", cp_sp_bytes)