Commit ba36857c authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Backwards compatibility for embedded LFS startup on 5.3

parent c6a2e996
......@@ -30,7 +30,11 @@
#endif
#ifndef LUA_INIT_STRING
#define LUA_INIT_STRING "@init.lua"
# if defined(CONFIG_NODEMCU_EMBED_LFS)
# define LUA_INIT_STRING "node.LFS.get('init')()"
# else
# define LUA_INIT_STRING "@init.lua"
# endif
#endif
#if !defined(STARTUP_COUNT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment