Disabled dtostrf on STM32F2

This commit is contained in:
Kevin Townsend 2015-12-03 11:56:31 +01:00
parent bb7cdb5059
commit a339810b75

View File

@ -21,7 +21,7 @@
// SOFTWARE. // SOFTWARE.
#include "Adafruit_MQTT.h" #include "Adafruit_MQTT.h"
#if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_STM32F2_FEATHER) #ifdef ARDUINO_SAMD_ZERO
static char *dtostrf (double val, signed char width, unsigned char prec, char *sout) { static char *dtostrf (double val, signed char width, unsigned char prec, char *sout) {
char fmt[20]; char fmt[20];
sprintf(fmt, "%%%d.%df", width, prec); sprintf(fmt, "%%%d.%df", width, prec);