git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
french cup + idf cup
[aversive.git]
/
include
/
aversive
/
pgmspace.h
diff --git
a/include/aversive/pgmspace.h
b/include/aversive/pgmspace.h
index
ff37bdf
..
9ff8df4
100644
(file)
--- a/
include/aversive/pgmspace.h
+++ b/
include/aversive/pgmspace.h
@@
-39,6
+39,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <string.h>
typedef void prog_void;
typedef char prog_char;
typedef void prog_void;
typedef char prog_char;
@@
-111,7
+112,7
@@
static inline int vsprintf_P(char *buf, const prog_char *s,
#define PGM_P const char *
#define PSTR(x) x
#define PROGMEM
#define PGM_P const char *
#define PSTR(x) x
#define PROGMEM
-#define printf_P(arg...) printf(args)
+#define printf_P(arg
s
...) printf(args)
#define sprintf_P(buf, args...) sprintf(buf, args)
#define snprintf_P(buf, n, args...) snprintf(buf, n, args)
#define sprintf_P(buf, args...) sprintf(buf, args)
#define snprintf_P(buf, n, args...) snprintf(buf, n, args)