snprintf_P missing in arduino core for samd, so have a local macro
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
architectures=avr,esp8266,samd
|
||||
|
||||
Reference in New Issue
Block a user