修正默认偏转角

This commit is contained in:
cyy_mac
2026-08-07 20:13:49 +08:00
parent 78d155c7b6
commit 576784bb4d
5 changed files with 13 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ void Balance_task(void *pvParameters)
}
//If Turn_Off(Voltage) returns to 1, the car is not allowed to move, and the PWM value is set to 0
//如果Turn_Off(Voltage)返回值为1不允许控制小车进行运动PWM值设置为0
else Set_Pwm(0,0,0,0,0);
else Set_Pwm(0,0,0,0,(Car_Mode == Akm_Car) ? SERVO_INIT : 0);
}
}
}