Moved defined(ARDUINO_SAMD_MKR1010) to line 25

Move "defined(ARDUINO_SAMD_MKR1010)" from lilne 24 to line 25
This commit is contained in:
Morgan 2020-09-23 10:27:06 +01:00 committed by GitHub
parent 4b360f2522
commit f1f515651f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,8 @@
// SOFTWARE. // SOFTWARE.
#include "Adafruit_MQTT.h" #include "Adafruit_MQTT.h"
#if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKR1010) || \ #if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || \
defined(ARDUINO_ARCH_SAMD) defined(ARDUINO_SAMD_MKR1010) || defined(ARDUINO_ARCH_SAMD)
static char *dtostrf(double val, signed char width, unsigned char prec, static char *dtostrf(double val, signed char width, unsigned char prec,
char *sout) { char *sout) {
char fmt[20]; char fmt[20];