mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
Fix UI crash when going onroad after onboarding (#21236)
old-commit-hash: d47b00b45a
This commit is contained in:
+3
-1
@@ -260,7 +260,9 @@ static void update_status(UIState *s) {
|
||||
s->wide_camera = Hardware::TICI() ? Params().getBool("EnableWideCamera") : false;
|
||||
|
||||
// Update intrinsics matrix after possible wide camera toggle change
|
||||
ui_resize(s, s->fb_w, s->fb_h);
|
||||
if (s->vg) {
|
||||
ui_resize(s, s->fb_w, s->fb_h);
|
||||
}
|
||||
|
||||
// Choose vision ipc client
|
||||
if (s->wide_camera) {
|
||||
|
||||
Reference in New Issue
Block a user