Better handling of RPM during stop of cranking #3803

one step back
This commit is contained in:
rusefillc 2022-01-17 21:43:30 -05:00
parent 9f5188bf30
commit e9742b8c24
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ void configureRusefiLuaHooks(lua_State* l) {
});
lua_register(l, "getTimeSinceTriggerEventMs", [](lua_State* l) {
int result = engine->triggerCentral.getSecondsSinceTriggerEvent() * 1000;
int result = engine->triggerCentral.m_lastEventTimer.getElapsedUs() / 1000;
lua_pushnumber(l, result);
return 1;
});