diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 187c51bd19..19fe665d17 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -517,7 +517,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) { } // paint path - double t = millis_since_boot(); +// double t = millis_since_boot(); QLinearGradient bg(0, height(), 0, 0); if (sm["controlsState"].getControlsState().getExperimentalMode()) { @@ -556,7 +556,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) { painter.setBrush(bg); painter.drawPolygon(scene.track_vertices); - double dt = millis_since_boot() - t; +// double dt = millis_since_boot() - t; // qDebug() << "Took" << dt << "ms to draw path"; painter.restore();