From 83bef1f69747edd69a743a0091f282e3a312a00a Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Thu, 2 Jan 2025 04:50:35 -0500 Subject: [PATCH] ESP32-C3 RC --- ESP-IDF_Robot/main/motor_controls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP-IDF_Robot/main/motor_controls.h b/ESP-IDF_Robot/main/motor_controls.h index 3114dbff2..129ba085b 100644 --- a/ESP-IDF_Robot/main/motor_controls.h +++ b/ESP-IDF_Robot/main/motor_controls.h @@ -20,7 +20,7 @@ static int interpolate_raw_val (int raw) { static int rescale_raw_val (int raw) { int s; - s = 2*raw - 5000; //8940; + s = raw*raw - 5000; //8940; return s; }