"burnconfig" lua command

This commit is contained in:
rusefillc 2024-01-01 13:36:38 -05:00
parent 06495725e0
commit 0dc2f4c806
1 changed files with 4 additions and 0 deletions

View File

@ -935,6 +935,10 @@ void configureRusefiLuaHooks(lua_State* lState) {
}
return 0;
});
lua_register(lState, CMD_BURNCONFIG, [](lua_State* l) {
requestBurn();
return 0;
});
lua_register(lState, "getGlobalConfigurationVersion", [](lua_State* l) {
lua_pushnumber(l, engine->getGlobalConfigurationVersion());