From 56dd0ab41d838f2194b2458b3b102eec4a957c2d Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 19 May 2020 21:11:12 +0200 Subject: [PATCH] Added guards to allow user redefinition of RADIOLIB_STATIC_ARRAY_SIZE --- src/BuildOpt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BuildOpt.h b/src/BuildOpt.h index 45248a78..a5de6898 100644 --- a/src/BuildOpt.h +++ b/src/BuildOpt.h @@ -252,7 +252,9 @@ //#define RADIOLIB_STATIC_ONLY // set the size of static arrays to use +#if !defined(RADIOLIB_STATIC_ARRAY_SIZE) #define RADIOLIB_STATIC_ARRAY_SIZE 256 +#endif /*! \brief A simple assert macro, will return on error.