right - fixed dtostrf for anything else
This commit is contained in:
parent
dbc989ac1d
commit
0f2fd58345
@ -21,7 +21,7 @@
|
||||
// SOFTWARE.
|
||||
#include "Adafruit_MQTT.h"
|
||||
|
||||
#ifndef dtostrf
|
||||
#ifdef ARDUINO_SAMD_ZERO
|
||||
static char *dtostrf (double val, signed char width, unsigned char prec, char *sout) {
|
||||
char fmt[20];
|
||||
sprintf(fmt, "%%%d.%df", width, prec);
|
||||
|
Loading…
Reference in New Issue
Block a user