mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 07:14:08 +08:00
AP_Scripting: Create scripts folder automatically
This commit is contained in:
@@ -20,14 +20,6 @@
|
||||
|
||||
#include <AP_Scripting/lua_generated_bindings.h>
|
||||
|
||||
#ifndef SCRIPTING_DIRECTORY
|
||||
#if HAL_OS_FATFS_IO
|
||||
#define SCRIPTING_DIRECTORY "/APM/scripts"
|
||||
#else
|
||||
#define SCRIPTING_DIRECTORY "./scripts"
|
||||
#endif //HAL_OS_FATFS_IO
|
||||
#endif // SCRIPTING_DIRECTORY
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
bool lua_scripts::overtime;
|
||||
|
||||
Reference in New Issue
Block a user