[MOD] Added missing stdarg include for some platforms
This commit is contained in:
parent
255838ed44
commit
61f6da0cb2
1 changed files with 6 additions and 0 deletions
|
@ -5,8 +5,14 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(RADIOLIB_DEBUG)
|
||||
// needed for debug print
|
||||
#include <stdarg.h>
|
||||
#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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue