mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 08:52:05 +08:00
UI: maintain frequency before vipc is connected (#21704)
Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -224,6 +224,8 @@ static void update_vision(UIState *s) {
|
||||
} else if (!Hardware::PC()) {
|
||||
LOGE("visionIPC receive timeout");
|
||||
}
|
||||
} else if (s->scene.started) {
|
||||
util::sleep_for(1000. / UI_FREQ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user