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
This commit is contained in:
Maurus Cuelenaere 2009-03-11 16:42:25 +00:00
parent 4654963cf9
commit dd9a9e40f8

View file

@ -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