mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 16:26:10 +08:00
UI: maintain frequency before vipc is connected (#21704)
Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: b13f5e632814c6ebb159a325331fd74da3a68066
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