kopia lustrzana https://github.com/jgromes/RadioLib
[MOD] Added missing stdarg include for some platforms
rodzic
255838ed44
commit
61f6da0cb2
|
@ -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();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue