controlsd cruise speed: fix missing initial value

old-commit-hash: f15d169289c0d806a49af123678bd49b8b3ba4f1
This commit is contained in:
Shane Smiskol
2022-11-14 11:01:01 -08:00
parent 2cd0421823
commit 270fe5aac3
+1 -1
View File
@@ -42,7 +42,7 @@ class VCruiseHelper:
self.v_cruise_cluster_kph = V_CRUISE_INITIAL
self.v_cruise_kph_last = 0
self.button_timers = {ButtonType.decelCruise: 0, ButtonType.accelCruise: 0}
self.button_change_states = {btn: {"standstill": False} for btn in self.button_timers}
self.button_change_states = {btn: {"standstill": False, "enabled": False} for btn in self.button_timers}
@property
def v_cruise_initialized(self):