auto-sync
This commit is contained in:
parent
55859f8073
commit
902990d36c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue