GM SENT ETB bench test in NJ #4688

This commit is contained in:
rusefi 2022-10-26 12:17:14 -04:00
parent f81f907d3a
commit ea9e172ced
1 changed files with 7 additions and 0 deletions

View File

@ -721,6 +721,13 @@ void configureRusefiLuaHooks(lua_State* l) {
return 0;
});
lua_register(l, "restartEtb", [](lua_State* l) {
// this is about Lua sensor acting in place of real analog PPS sensor
// todo: smarter implementation
initElectronicThrottle();
return 0;
});
lua_register(l, "crc8_j1850", [](lua_State* l) {
uint8_t data[8];
uint32_t length = getArray(l, 1, data, sizeof(data));