mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 16:37:01 +08:00
AP_Scripting: enable lua scripts in ROMFS
This commit is contained in:
@@ -372,6 +372,7 @@ void lua_scripts::run(void) {
|
||||
|
||||
// Scan the filesystem in an appropriate manner and autostart scripts
|
||||
load_all_scripts_in_dir(L, SCRIPTING_DIRECTORY);
|
||||
load_all_scripts_in_dir(L, ":ROMFS/scripts");
|
||||
|
||||
succeeded_initial_load = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user