This commit is contained in:
rusefillc 2021-12-13 17:53:20 -05:00
parent 7e3765650f
commit 79586d42a6
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,7 @@ All notable user-facing or behavior-altering changes will be documented in this
- Improved vehicle speed sensor configuration: now uses real physical constants about tires, gear ratio, sensor, etc.
- Improved priming logic. Now includes a table of priming fuel mass vs. engine temperature, in addition to a delay before priming to allow fuel pressure to build. #3674
- ISO-TP connector in firmware & ISO-TP to TCP/IP bridge in rusEFI console #3667
- Lua: mcu_stop method for stm32 F4 and F7
### Fixed
- Faster engine sync + startup on engines with crank-speed primary trigger

View File

@ -33,6 +33,13 @@ static int lua_interpolate(lua_State* l) {
void configureRusefiLuaUtilHooks(lua_State* l) {
lua_register(l, "print", lua_efi_print);
lua_register(l, "interpolate", lua_interpolate);
#if defined(STM32F4) || defined(STM32F7)
lua_register(l, "mcu_stop", [](lua_State* l) {
return 0;
});
#endif
/*
* todo: shall we? same for milliseconds?
lua_register(l, "getNowSeconds", [](lua_State* l) -> int {