mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 21:12:07 +08:00
controlsd cruise speed: fix missing initial value
old-commit-hash: f15d169289c0d806a49af123678bd49b8b3ba4f1
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user