mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Scripting: enable lua scripts in ROMFS
This commit is contained in:
parent
ea57b7b3cd
commit
ebec738b88
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user