From ccb363548599252c8db5246a3de8d36d3b3a3680 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 4 Jul 2020 21:17:14 +0200 Subject: [PATCH] [RF69] Fixed exclusion macros --- src/modules/RF69/RF69.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/RF69/RF69.h b/src/modules/RF69/RF69.h index 70815395..1994980b 100644 --- a/src/modules/RF69/RF69.h +++ b/src/modules/RF69/RF69.h @@ -1,7 +1,10 @@ -#if !defined(_RADIOLIB_RF69_H) && !defined(RADIOLIB_EXCLUDE_RF69) +#if !defined(_RADIOLIB_RF69_H) #define _RADIOLIB_RF69_H #include "../../TypeDef.h" + +#if !defined(RADIOLIB_EXCLUDE_RF69) + #include "../../Module.h" #include "../../protocols/PhysicalLayer/PhysicalLayer.h" @@ -835,3 +838,5 @@ class RF69: public PhysicalLayer { }; #endif + +#endif