fix search path for lua require (#3336)

This commit is contained in:
Gregor Hartmann 2020-11-25 20:07:17 +01:00 committed by GitHub
parent 63d82131a7
commit ad8f82c6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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