auto-sync

This commit is contained in:
rusEfi 2015-04-11 10:06:05 -05:00
parent 55859f8073
commit 902990d36c
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ void AccelEnrichmemnt::reset() {
}
void AccelEnrichmemnt::onEngineCycleTps(DECLARE_ENGINE_PARAMETER_F) {
float tps = getTPS();
float tps = getTPS(PASS_ENGINE_PARAMETER_F);
cb.add(delta);
}

View File

@ -79,7 +79,7 @@ static ICUDriver *turnOnTriggerInputPin(brain_pin_e hwPin) {
shaft_icucfg.width_cb = needWidthCallback ? shaft_icu_width_callback : NULL;
bool_t needPeriodCallback = !CONFIG(useOnlyFrontForTrigger) || !TRIGGER_SHAPE(useRiseEdge);
shaft_icucfg.width_cb = needPeriodCallback ? shaft_icu_period_callback : NULL;
shaft_icucfg.period_cb = needPeriodCallback ? shaft_icu_period_callback : NULL;
efiIcuStart(driver, &shaft_icucfg);
icuEnable(driver);