summaryrefslogtreecommitdiffstats
path: root/firmware/logf.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-11 16:42:25 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-11 16:42:25 +0000
commitdd9a9e40f8cca022e1eb20861594392c0db8908b (patch)
treeffeb0ef6680967500d2579faf8fed62264dc8464 /firmware/logf.c
parent4654963cf9ccc5c3b4390ed226ddf6ba340406b8 (diff)
downloadrockbox-dd9a9e40f8cca022e1eb20861594392c0db8908b.tar.gz
rockbox-dd9a9e40f8cca022e1eb20861594392c0db8908b.tar.bz2
rockbox-dd9a9e40f8cca022e1eb20861594392c0db8908b.zip
Commit FS#9970 by Yoshihisa Uchida: fix building when HAVE_SERIAL & ROCKBOX_HAS_LOGF is defined in a simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20291 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c2
1 files changed, 1 insertions, 1 deletions
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