From 61f6da0cb2a41e88bc13494c67a4ef01f6ed546c Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 22 Apr 2023 20:19:36 +0200 Subject: [PATCH] [MOD] Added missing stdarg include for some platforms --- src/Module.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Module.cpp b/src/Module.cpp index db3b56f2..17e09480 100644 --- a/src/Module.cpp +++ b/src/Module.cpp @@ -5,8 +5,14 @@ #include #include +#if defined(RADIOLIB_DEBUG) +// needed for debug print +#include +#endif + #if defined(RADIOLIB_BUILD_ARDUINO) #include "ArduinoHal.h" + Module::Module(uint32_t cs, uint32_t irq, uint32_t rst, uint32_t gpio) : csPin(cs), irqPin(irq), rstPin(rst), gpioPin(gpio) { this->hal = new ArduinoHal(); }