diff --git a/firmware/logf.c b/firmware/logf.c index 8821f4a658..75aaf31e64 100644 --- a/firmware/logf.c +++ b/firmware/logf.c @@ -131,7 +131,7 @@ void _logf(const char *format, ...) va_end(ap); len = strlen(buf); -#ifdef HAVE_SERIAL +#if defined(HAVE_SERIAL) && !defined(SIMULATOR) serial_tx(buf); serial_tx("\r\n"); #endif