From 9506985aa0f9525bd8a5c6bd27bb595affeed551 Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sun, 4 Jan 2026 04:59:54 -0500 Subject: [PATCH] Motor Logic --- ESP-IDF_Robot/build/.ninja_lock | 0 ESP-IDF_Robot/main/rc.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 ESP-IDF_Robot/build/.ninja_lock diff --git a/ESP-IDF_Robot/build/.ninja_lock b/ESP-IDF_Robot/build/.ninja_lock new file mode 100644 index 0000000000..e69de29bb2 diff --git a/ESP-IDF_Robot/main/rc.h b/ESP-IDF_Robot/main/rc.h index 7202fd6321..b8dc5c7716 100644 --- a/ESP-IDF_Robot/main/rc.h +++ b/ESP-IDF_Robot/main/rc.h @@ -218,7 +218,7 @@ static void update_pwm (int rc_x, int rc_y) { static void update_motors_pwm (int pwm_motor_1, int pwm_motor_2) { /* DEAD ZONE / STAND */ - if (abs(pwm_motor_1) < 300 && abs(pwm_motor_2) < 300) + if (abs(pwm_motor_1) < 500 && abs(pwm_motor_2) < 500) { m.motor1_rpm_pcm = 0; m.motor2_rpm_pcm = 0;