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