mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
fix search path for lua require (#3336)
This commit is contained in:
parent
63d82131a7
commit
ad8f82c6e2
@ -104,7 +104,7 @@
|
||||
//## Modified for eLua
|
||||
//## Defaults search modules path to our ROM File System
|
||||
#ifndef LUA_RPC
|
||||
#define LUA_PATH_DEFAULT "/rfs/?.lua;/rfs/?.lc;/mmc/?.lua;/mmc/?.lc;/rom/?.lua;/rom/?.lc"
|
||||
#define LUA_PATH_DEFAULT "?.lc;?.lua"
|
||||
#define LUA_CPATH_DEFAULT ""
|
||||
#else // #ifndef LUA_RPC
|
||||
#define LUA_PATH_DEFAULT \
|
||||
|
Loading…
x
Reference in New Issue
Block a user