mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-04 05:53:42 +08:00
fix ui
This commit is contained in:
@@ -220,6 +220,7 @@ class UIState(UIStateSP):
|
||||
ChestnutState.UNCOMPILED if detected else ChestnutState.DISCONNECTED)
|
||||
return
|
||||
|
||||
self.chestnut_present = self.chestnut_present or detected
|
||||
model_seen = self.sm.recv_frame["modelV2"] > self.started_frame
|
||||
if not self.chestnut_present:
|
||||
self.chestnut_state = ChestnutState.DISCONNECTED
|
||||
|
||||
Reference in New Issue
Block a user