diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-02-07 11:15:30 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-02-07 11:15:30 +0000 |
commit | 3c7e299cf35fa4f8cadaaed4afe9cb164871c586 (patch) | |
tree | 8140ddb53bec8596fa82488358ff97f3c6fb1521 /apps/main.c | |
parent | 4d3a020f274d49c2b8f10cfdad8c67aaa153bebe (diff) | |
download | rockbox-3c7e299cf35fa4f8cadaaed4afe9cb164871c586.tar.gz rockbox-3c7e299cf35fa4f8cadaaed4afe9cb164871c586.zip |
Simplify conditions for including serial port support (it's now HAVE_SERIAL). This should save a little binsize and RAM for target that don't have/use a serial port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 94a9231d7f..24a89eca56 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -388,7 +388,7 @@ static void init(void) | |||
388 | #ifdef DEBUG | 388 | #ifdef DEBUG |
389 | debug_init(); | 389 | debug_init(); |
390 | #else | 390 | #else |
391 | #if !defined(HAVE_FMADC) && !(CONFIG_STORAGE & STORAGE_MMC) | 391 | #ifdef HAVE_SERIAL |
392 | serial_setup(); | 392 | serial_setup(); |
393 | #endif | 393 | #endif |
394 | #endif | 394 | #endif |