summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/common/sprintf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c
index e72648c..5dd86b7 100644
--- a/firmware/common/sprintf.c
+++ b/firmware/common/sprintf.c
@@ -175,8 +175,6 @@ int vsnprintf(char *buf, int size, const char *fmt, va_list ap)
return pr.bytes;
}
-#ifndef SIMULATOR
-
struct for_fprintf {
int fd; /* where to store it */
int bytes; /* amount stored */
@@ -211,4 +209,4 @@ int fprintf(int fd, const char *fmt, ...)
return fpr.bytes; /* return 0 on error */
}
-#endif
+