|
|
@@ -15,7 +15,7 @@ void thro_torque_reset(void) {
|
|
|
_torque.thro_filted = 0.0f;
|
|
|
_torque.thro_ration = _torque.thro_ration_last = 0.0f;
|
|
|
_torque.torque_req = _torque.torque_real = 0.0f;
|
|
|
- _torque.gear = mc_get_gear();
|
|
|
+ _torque.gear = mc_get_internal_gear();
|
|
|
}
|
|
|
|
|
|
void thro_torque_init(void) {
|
|
|
@@ -166,7 +166,7 @@ void thro_torque_process(u8 run_mode, float f_throttle) {
|
|
|
thro_torque_filter(f_throttle);
|
|
|
|
|
|
float thro_r = thro_ration(_torque.thro_filted);
|
|
|
- u8 n_gear = mc_get_gear();
|
|
|
+ u8 n_gear = mc_get_internal_gear();
|
|
|
|
|
|
if (thro_r > _torque.thro_ration) {
|
|
|
if (!_torque.accl) {
|