AP_Scripting: Create scripts folder automatically

This commit is contained in:
Rishabh
2020-04-18 00:16:27 +05:30
committed by Peter Barker
parent 653a6bd0a4
commit bd7190767e
3 changed files with 17 additions and 8 deletions

View File

@@ -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;