From 8a5533ce1b881e3c706506ebf42ba0f11ae88914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=BA=E6=A2=B0=E5=B0=8F=E9=B8=BD?= <128568434+jixiexiaoge@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:08:00 +0800 Subject: [PATCH] getPcmCruiseGap --- selfdrive/ui/carrot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/carrot.cc b/selfdrive/ui/carrot.cc index 1a42d9e..81044d4 100644 --- a/selfdrive/ui/carrot.cc +++ b/selfdrive/ui/carrot.cc @@ -2215,7 +2215,7 @@ public: float setSpeed = carState.getCruiseState().getSpeed() * 3.64428; // 转换为 km/h sprintf(gap_str, "%.0f", setSpeed); ui_draw_text(s, dx, dy, gap_str, 40, COLOR_WHITE, BOLD); - int gap_mazda = carState.pcmCruiseGap(); //int gap_mazda = carState.getPcmCruiseGap(); + int gap_mazda = carState.getPcmCruiseGap(); //int gap_mazda = carState.getPcmCruiseGap(); gap_last = gap; dx = bx + 300 - 30;