Backwards compatibility for embedded LFS startup on 5.3

This commit is contained in:
Johny Mattsson 2021-08-30 17:37:35 +10:00
parent c6a2e99650
commit ba36857c50
1 changed files with 5 additions and 1 deletions

View File

@ -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