diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c index e72648cfae..5dd86b77d6 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 +