fix speed
This commit is contained in:
parent
b7aad73c25
commit
c5403fe7f9
@ -269,7 +269,7 @@ void calcSpeed(int32_t rpm) {
|
||||
} else {
|
||||
calcSpeed = -rpm;
|
||||
}
|
||||
calcSpeed *= 1000;
|
||||
calcSpeed *= 2000;
|
||||
calcSpeed /= KART_CST.CONTROL_SPEED_FACTOR;
|
||||
eKart.speed = (uint8_t) calcSpeed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user