Backwards compatibility for embedded LFS startup on 5.3
This commit is contained in:
parent
c6a2e99650
commit
ba36857c50
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue