mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: tweak conditions for scripting-requires-filesystem
AP_FILESYSTEM_READING_ENABLED isn't quite right as we can't read scripts from @SYS.
This commit is contained in:
parent
78f0175e20
commit
222a26ee20
|
@ -9,7 +9,8 @@
|
|||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
#if !AP_FILESYSTEM_FILE_READING_ENABLED
|
||||
// enumerate all of the possible places we can read a script from.
|
||||
#if !AP_FILESYSTEM_POSIX_ENABLED && !AP_FILESYSTEM_FATFS_ENABLED && !AP_FILESYSTEM_ESP32_ENABLED && !AP_FILESYSTEM_ROMFS_ENABLED
|
||||
#error "Scripting requires a filesystem"
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue