accel bad bounds check

This commit is contained in:
Matthew Kennedy 2022-03-23 20:07:59 -07:00
parent beead696f6
commit b2bb493be3
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void setTpsDecelMult(float value) {
}
void setTpsAccelLen(int length) {
if (length < 1) {
if (length < 0) {
efiPrintf("Length should be positive");
return;
}