snprintf_P missing in arduino core for samd, so have a local macro

This commit is contained in:
Thomas Mørch
2015-12-18 23:51:45 +01:00
parent 1396bf8bc2
commit be2c89a200
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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