selfdrived: rename temporary variable

not obvious it's not to be used after
This commit is contained in:
Shane Smiskol
2025-07-13 01:30:19 -07:00
parent 41619a0174
commit db37f4187e
+2 -2
View File
@@ -377,8 +377,8 @@ class SelfdriveD:
self.events.add(EventName.personalityChanged)
def data_sample(self):
car_state = messaging.recv_one(self.car_state_sock)
CS = car_state.carState if car_state else self.CS_prev
_car_state = messaging.recv_one(self.car_state_sock)
CS = _car_state.carState if _car_state else self.CS_prev
self.sm.update(0)