Use sniprintf on newlib platforms.
This commit is contained in:
parent
3f9ea8250a
commit
600f0d27d9
|
@ -160,6 +160,7 @@ static inline int platform_hwversion(void)
|
|||
#define sscanf siscanf
|
||||
#define sprintf siprintf
|
||||
#define vasprintf vasiprintf
|
||||
#define snprintf sniprintf
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -138,6 +138,7 @@ extern uint16_t led_idle_run;
|
|||
#define sscanf siscanf
|
||||
#define sprintf siprintf
|
||||
#define vasprintf vasiprintf
|
||||
#define snprintf sniprintf
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -131,6 +131,7 @@
|
|||
#define sscanf siscanf
|
||||
#define sprintf siprintf
|
||||
#define vasprintf vasiprintf
|
||||
#define snprintf sniprintf
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue