diff --git a/libraries/MySensors/core/MyHwSAMD.h b/libraries/MySensors/core/MyHwSAMD.h index cec85af..e8717ca 100644 --- a/libraries/MySensors/core/MyHwSAMD.h +++ b/libraries/MySensors/core/MyHwSAMD.h @@ -35,6 +35,7 @@ #define min(a,b) ((a)<(b)?(a):(b)) #define max(a,b) ((a)>(b)?(a):(b)) +#define snprintf_P(s, f, ...) snprintf((s), (f), __VA_ARGS__) // Define these as macros to save valuable space diff --git a/libraries/MySensors/library.properties b/libraries/MySensors/library.properties index 54e59aa..db72528 100644 --- a/libraries/MySensors/library.properties +++ b/libraries/MySensors/library.properties @@ -6,4 +6,4 @@ sentence=Home Automation Framework paragraph=Create your own wireless sensor mesh using NRF24L01+ and RFM69 radios running on Arduino or ESP8266. Over-the-air updates and MySensors support in 16+ home automation controllers. category=Communication url=http://www.mysensors.org -architectures=avr,esp8266 \ No newline at end of file +architectures=avr,esp8266,samd