Added ARDUINO_STM32F2_FEATHER check
This commit is contained in:
parent
936c6b25e1
commit
bb7cdb5059
@ -21,7 +21,7 @@
|
||||
// SOFTWARE.
|
||||
#include "Adafruit_MQTT.h"
|
||||
|
||||
#ifdef ARDUINO_SAMD_ZERO
|
||||
#if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_STM32F2_FEATHER)
|
||||
static char *dtostrf (double val, signed char width, unsigned char prec, char *sout) {
|
||||
char fmt[20];
|
||||
sprintf(fmt, "%%%d.%df", width, prec);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
#ifdef ARDUINO_SAMD_ZERO
|
||||
#if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_STM32F2_FEATHER)
|
||||
#define strncpy_P(dest, src, len) strncpy((dest), (src), (len))
|
||||
#define strncasecmp_P(f1, f2, len) strncasecmp((f1), (f2), (len))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user