summaryrefslogtreecommitdiff
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 @@
69void dac_line_in(bool enable); 69void dac_line_in(bool enable);
70#endif 70#endif
71struct user_settings global_settings; 71struct user_settings global_settings;
72#ifdef HAVE_RECORDING
72const char rec_base_directory[] = REC_BASE_DIR; 73const char rec_base_directory[] = REC_BASE_DIR;
73 74#endif
74 75
75 76
76#define CONFIG_BLOCK_VERSION 21 77#define CONFIG_BLOCK_VERSION 21
@@ -155,8 +156,10 @@ Rest of config block, only saved to disk:
155/* some sets of values which are used more than once, to save memory */ 156/* some sets of values which are used more than once, to save memory */
156static const char off_on[] = "off,on"; 157static const char off_on[] = "off,on";
157static const char off_on_ask[] = "off,on,ask"; 158static const char off_on_ask[] = "off,on,ask";
158static const char graphic_numeric[] = "graphic,numeric";
159static const char off_number_spell_hover[] = "off,number,spell,hover"; 159static const char off_number_spell_hover[] = "off,number,spell,hover";
160#ifdef HAVE_LCD_BITMAP
161static const char graphic_numeric[] = "graphic,numeric";
162#endif
160 163
161#ifdef HAVE_RECORDING 164#ifdef HAVE_RECORDING
162/* keep synchronous to trig_durations and 165/* 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)
1019} 1019}
1020#endif 1020#endif
1021 1021
1022#ifdef HAVE_RECORDING
1022const unsigned char empty_id3_header[] = 1023const unsigned char empty_id3_header[] =
1023{ 1024{
1024 'I', 'D', '3', 0x03, 0x00, 0x00, 1025 'I', 'D', '3', 0x03, 0x00, 0x00,
1025 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */ 1026 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */
1026}; 1027};
1028#endif
1027 1029
1028static void mpeg_thread(void) 1030static void mpeg_thread(void)
1029{ 1031{