Backwards compatibility for embedded LFS startup on 5.3
This commit is contained in:
parent
c6a2e99650
commit
ba36857c50
|
@ -30,8 +30,12 @@
|
|||
#endif
|
||||
|
||||
#ifndef LUA_INIT_STRING
|
||||
# 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)
|
||||
# define STARTUP_COUNT
|
||||
|
|
Loading…
Reference in New Issue