ui: don't log slow frame message in driverview (#20509)

* Don't log slow frame message in driverview mode

* white space
pull/20512/head
Dean Lee 5 years ago committed by GitHub
parent 364b083c59
commit 318fa3f50a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/qt/home.cc

@ -321,7 +321,7 @@ void GLWindow::paintGL() {
double cur_draw_t = millis_since_boot();
double dt = cur_draw_t - prev_draw_t;
if (dt > 66 && onroad){
if (dt > 66 && onroad && !ui_state.scene.driver_view) {
// warn on sub 15fps
LOGW("slow frame(%llu) time: %.2f", ui_state.sm->frame, dt);
}

Loading…
Cancel
Save