From 469f1e01ef5e80d500f417d201e6115677bbab40 Mon Sep 17 00:00:00 2001 From: nayan Date: Tue, 4 Nov 2025 16:28:23 -0500 Subject: [PATCH] LOL, keep these --- selfdrive/ui/sunnypilot/qt/onroad/hud.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/selfdrive/ui/sunnypilot/qt/onroad/hud.cc b/selfdrive/ui/sunnypilot/qt/onroad/hud.cc index b7f5b33579..d5f7344b10 100644 --- a/selfdrive/ui/sunnypilot/qt/onroad/hud.cc +++ b/selfdrive/ui/sunnypilot/qt/onroad/hud.cc @@ -236,17 +236,17 @@ void HudRendererSP::draw(QPainter &p, const QRect &surface_rect) { if (smartCruiseControlMapEnabled) y_scc_m = orders[i++]; // Smart Cruise Control - Vision - //bool scc_vision_active_pulse = pulseElement(smartCruiseControlVisionFrame); - //if ((smartCruiseControlVisionEnabled && !smartCruiseControlVisionActive) || (smartCruiseControlVisionActive && scc_vision_active_pulse)) { + bool scc_vision_active_pulse = pulseElement(smartCruiseControlVisionFrame); + if ((smartCruiseControlVisionEnabled && !smartCruiseControlVisionActive) || (smartCruiseControlVisionActive && scc_vision_active_pulse)) { drawSmartCruiseControlOnroadIcon(p, surface_rect, x_offset, y_scc_v, "SCC-V"); - //} + } smartCruiseControlVisionFrame = smartCruiseControlVisionActive ? (smartCruiseControlVisionFrame + 1) : 0; // Smart Cruise Control - Map - //bool scc_map_active_pulse = pulseElement(smartCruiseControlMapFrame); - //if ((smartCruiseControlMapEnabled && !smartCruiseControlMapActive) || (smartCruiseControlMapActive && scc_map_active_pulse)) { + bool scc_map_active_pulse = pulseElement(smartCruiseControlMapFrame); + if ((smartCruiseControlMapEnabled && !smartCruiseControlMapActive) || (smartCruiseControlMapActive && scc_map_active_pulse)) { drawSmartCruiseControlOnroadIcon(p, surface_rect, x_offset, y_scc_m, "SCC-M"); - //} + } smartCruiseControlMapFrame = smartCruiseControlMapActive ? (smartCruiseControlMapFrame + 1) : 0; // Bottom Dev UI