From 3c7e299cf35fa4f8cadaaed4afe9cb164871c586 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 7 Feb 2009 11:15:30 +0000 Subject: 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 --- firmware/export/config-ipod4g.h | 1 + firmware/export/config-ipodcolor.h | 1 + firmware/export/config-ipodnano.h | 1 + firmware/export/config-ipodvideo.h | 1 + firmware/export/config-player.h | 2 ++ firmware/export/config-recorder.h | 2 ++ 6 files changed, 8 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h index f6c71f39d8..e2aaa96ded 100644 --- a/firmware/export/config-ipod4g.h +++ b/firmware/export/config-ipod4g.h @@ -187,5 +187,6 @@ #define ICODE_ATTR_TREMOR_NOT_MDCT #define IPOD_ACCESSORY_PROTOCOL +#define HAVE_SERIAL #endif diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h index 58a888a969..e7395919d6 100644 --- a/firmware/export/config-ipodcolor.h +++ b/firmware/export/config-ipodcolor.h @@ -167,5 +167,6 @@ #define ICODE_ATTR_TREMOR_NOT_MDCT #define IPOD_ACCESSORY_PROTOCOL +#define HAVE_SERIAL #endif diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 1d82ec4428..3bf44b3abe 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -177,5 +177,6 @@ #define ICODE_ATTR_TREMOR_NOT_MDCT #define IPOD_ACCESSORY_PROTOCOL +#define HAVE_SERIAL #endif diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index b658a9b3f8..d3e8dc0140 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -199,5 +199,6 @@ #define ICODE_ATTR_TREMOR_NOT_MDCT #define IPOD_ACCESSORY_PROTOCOL +#define HAVE_SERIAL #endif diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h index 9008212a17..91d97abd97 100644 --- a/firmware/export/config-player.h +++ b/firmware/export/config-player.h @@ -100,3 +100,5 @@ #define MAX_CONTRAST_SETTING 31 #define DEFAULT_CONTRAST_SETTING 30 +#define HAVE_SERIAL + diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index ff74eef402..f0a513851f 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h @@ -120,3 +120,5 @@ #define MIN_CONTRAST_SETTING 5 #define MAX_CONTRAST_SETTING 63 +#define HAVE_SERIAL + -- cgit v1.2.3