diff --git a/libraries/AP_Param/AP_Param.h b/libraries/AP_Param/AP_Param.h index d40a7a30f8..db8fbde15f 100644 --- a/libraries/AP_Param/AP_Param.h +++ b/libraries/AP_Param/AP_Param.h @@ -54,7 +54,9 @@ #endif // allow for dynamically added tables when scripting enabled +#ifndef AP_PARAM_DYNAMIC_ENABLED #define AP_PARAM_DYNAMIC_ENABLED AP_SCRIPTING_ENABLED +#endif // maximum number of dynamically created tables (from scripts) #ifndef AP_PARAM_MAX_DYNAMIC