Skip to content

Commit 9da5373

Browse files
Add some ancient AVR compat _P function definitions
1 parent b20f68b commit 9da5373

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/deprecated-avr-comp/avr/pgmspace.h

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ typedef const void* uint_farptr_t;
9898

9999
#define sprintf_P(s, f, ...) sprintf((s), (f), __VA_ARGS__)
100100
#define snprintf_P(s, f, ...) snprintf((s), (f), __VA_ARGS__)
101+
#define vsprintf_P(s, f, ...) vsprintf((s), (f), __VA_ARGS__)
102+
#define vsnprintf_P(s, f, ...) vsnprintf((s), (f), __VA_ARGS__)
101103

102104
#if 0
103105
// Requires natural aligned addresses

0 commit comments

Comments
 (0)