diff --git a/bspMCU/l_stm32.c b/bspMCU/l_stm32.c index dd4b92d..92a370e 100644 --- a/bspMCU/l_stm32.c +++ b/bspMCU/l_stm32.c @@ -511,7 +511,7 @@ static int l_run_script(lua_State *L) .buf_len = 0 }; - int status = lua_load(L, flash_reader, &ctx, "script"); + int status = lua_load(L, flash_reader, &ctx, "script", NULL); if (status == LUA_OK) {