summaryrefslogtreecommitdiff
path: root/firmware/common/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/sprintf.c')
-rw-r--r--firmware/common/sprintf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c
index ddbae9a473..a44ca29560 100644
--- a/firmware/common/sprintf.c
+++ b/firmware/common/sprintf.c
@@ -193,6 +193,8 @@ static int fprfunc(void *pr, unsigned char letter)
193} 193}
194 194
195 195
196#ifndef SIMULATOR
197
196int fprintf(int fd, const char *fmt, ...) 198int fprintf(int fd, const char *fmt, ...)
197{ 199{
198 bool ok; 200 bool ok;
@@ -208,3 +210,4 @@ int fprintf(int fd, const char *fmt, ...)
208 210
209 return fpr.bytes; /* return 0 on error */ 211 return fpr.bytes; /* return 0 on error */
210} 212}
213#endif