From c5403fe7f9fbce4d130f90c8f09acfbf254e060c Mon Sep 17 00:00:00 2001 From: Klagarge Date: Thu, 7 Sep 2023 16:55:24 +0200 Subject: [PATCH] fix speed --- 306-controller_interface.X/app/kartculator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/306-controller_interface.X/app/kartculator.c b/306-controller_interface.X/app/kartculator.c index 32af8c3..6f30af2 100644 --- a/306-controller_interface.X/app/kartculator.c +++ b/306-controller_interface.X/app/kartculator.c @@ -269,7 +269,7 @@ void calcSpeed(int32_t rpm) { } else { calcSpeed = -rpm; } - calcSpeed *= 1000; + calcSpeed *= 2000; calcSpeed /= KART_CST.CONTROL_SPEED_FACTOR; eKart.speed = (uint8_t) calcSpeed; }