only:better error message

This commit is contained in:
rusefillc 2023-06-04 19:49:53 -04:00
parent f867495fd9
commit 4fe50ac65b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ void GearDetector::onConfigurationChange(engine_configuration_s const * /*previo
// validate gears
for (size_t i = 0; i < gearCount; i++) {
if (engineConfiguration->gearRatio[i] <= 0) {
firmwareError(ObdCode::OBD_PCM_Processor_Fault, "Invalid gear ratio for #%d", i + 1);
firmwareError(ObdCode::OBD_PCM_Processor_Fault, "Expecting positive gear ratio for #%d", i + 1);
return;
}
}