summaryrefslogtreecommitdiff
path: root/firmware/drivers/serial.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-09-20 22:15:35 +0000
committerJens Arnold <amiconn@rockbox.org>2004-09-20 22:15:35 +0000
commit2d875f83e6d5c14a0faf4474d17e8740406c7649 (patch)
tree7dbdfa3f33c18ffad4672c77f75938cf889e472a /firmware/drivers/serial.c
parent57945b125d7f467d222796920fb1b6cf4e90f802 (diff)
downloadrockbox-2d875f83e6d5c14a0faf4474d17e8740406c7649.zip
rockbox-2d875f83e6d5c14a0faf4474d17e8740406c7649.tar.gz
rockbox-2d875f83e6d5c14a0faf4474d17e8740406c7649.tar.bz2
rockbox-2d875f83e6d5c14a0faf4474d17e8740406c7649.tar.xz
Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/serial.c')
-rw-r--r--firmware/drivers/serial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/serial.c b/firmware/drivers/serial.c
index a66f3b1..bf2b26b 100644
--- a/firmware/drivers/serial.c
+++ b/firmware/drivers/serial.c
@@ -27,6 +27,8 @@
#include "lcd.h"
#include "serial.h"
+#ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */
+
/* Received byte identifiers */
#define PLAY 0xC1
#define STOP 0xC2
@@ -133,3 +135,5 @@ int remote_control_rx(void)
return ret;
}
+
+#endif /* HAVE_MMC */