Knock retard does not pull timing unless bottom row of "Max Knock Retard" is populated fix #6370

This commit is contained in:
rusefillc 2024-04-18 10:30:57 -04:00
parent 1db0c66068
commit cad5e5c84a
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ Release template (copy/paste this for new release):
- update-ts-cacerts work-around is no longer needed #6327
- uaEFI board knock configuration #6338
- Fix a scenario where noisy trigger can cause overdwell #6349
- knock retard calibration lookup #6370
### Breaking Changes
- wrong trigger naming for missing teeth #6258

View File

@ -14,7 +14,7 @@
void KnockController::onConfigurationChange(engine_configuration_s const * previousConfig) {
KnockControllerBase::onConfigurationChange(previousConfig);
m_maxRetardTable.initTable(config->maxKnockRetardTable, config->maxKnockRetardLoadBins, config->maxKnockRetardRpmBins);
m_maxRetardTable.initTable(config->maxKnockRetardTable, config->maxKnockRetardRpmBins, config->maxKnockRetardLoadBins);
}
int getCylinderKnockBank(uint8_t cylinderNumber) {