This commit is contained in:
2025-08-06 08:47:59 -04:00
parent 2887d16bee
commit f2a59fcfb5

View File

@@ -103,6 +103,12 @@ static void update_pwm (int rc_x, int rc_y) {
m.motor3_rpm_pcm = 0;
m.motor4_rpm_pcm = 0;
}
if (x >= 1500 && y >= -8190 && y < 500) {
m.motor1_rpm_pcm = x;
m.motor2_rpm_pcm = 0;
m.motor3_rpm_pcm = 0;
m.motor4_rpm_pcm = 0;
}
else {
m.motor1_rpm_pcm = 0;
m.motor2_rpm_pcm = 0;