mirror of https://github.com/rusefi/rusefi.git
accel bad bounds check
This commit is contained in:
parent
beead696f6
commit
b2bb493be3
|
@ -215,7 +215,7 @@ void setTpsDecelMult(float value) {
|
|||
}
|
||||
|
||||
void setTpsAccelLen(int length) {
|
||||
if (length < 1) {
|
||||
if (length < 0) {
|
||||
efiPrintf("Length should be positive");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue