summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-05-08 13:41:24 +0000
committerJens Arnold <amiconn@rockbox.org>2005-05-08 13:41:24 +0000
commita559cf2e3949fcc0482b656411ed68c1e79bb245 (patch)
treee2b4f632f6da505ca7e4eefa1a0b7105d773367e
parent642ac35940a950fe6ee6c4de92e3a75533a4f978 (diff)
downloadrockbox-a559cf2e3949fcc0482b656411ed68c1e79bb245.tar.gz
rockbox-a559cf2e3949fcc0482b656411ed68c1e79bb245.zip
Disabled unused constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6431 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.c7
-rw-r--r--firmware/mpeg.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 936aa2233e..0780cf2a72 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -69,8 +69,9 @@
void dac_line_in(bool enable);
#endif
struct user_settings global_settings;
+#ifdef HAVE_RECORDING
const char rec_base_directory[] = REC_BASE_DIR;
-
+#endif
#define CONFIG_BLOCK_VERSION 21
@@ -155,8 +156,10 @@ Rest of config block, only saved to disk:
/* some sets of values which are used more than once, to save memory */
static const char off_on[] = "off,on";
static const char off_on_ask[] = "off,on,ask";
-static const char graphic_numeric[] = "graphic,numeric";
static const char off_number_spell_hover[] = "off,number,spell,hover";
+#ifdef HAVE_LCD_BITMAP
+static const char graphic_numeric[] = "graphic,numeric";
+#endif
#ifdef HAVE_RECORDING
/* keep synchronous to trig_durations and
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 115d590f65..5496ace9ac 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1019,11 +1019,13 @@ static bool swap_one_chunk(void)
}
#endif
+#ifdef HAVE_RECORDING
const unsigned char empty_id3_header[] =
{
'I', 'D', '3', 0x03, 0x00, 0x00,
0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
};
+#endif
static void mpeg_thread(void)
{