mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Scripting: allow scripting startup with no sdcard
as scripts can be in ROMFS we should still create the thread without the scripts directory
This commit is contained in:
parent
d3b3c443bc
commit
35149ae8b2
@ -132,7 +132,6 @@ void AP_Scripting::init(void) {
|
||||
if (AP::FS().mkdir(dir_name)) {
|
||||
if (errno != EEXIST) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Lua: failed to create (%s)", dir_name);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user