From 75ac3f98fa93d101d15bb73228d1556f19b7a7c8 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Wed, 4 Oct 2023 17:25:40 +0100 Subject: [PATCH] AP_Param: Allow override of AP_PARAM_DYNAMIC_ENABLED define --- libraries/AP_Param/AP_Param.h | 2 ++ 1 file changed, 2 insertions(+) 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