summaryrefslogtreecommitdiffstats
path: root/apps/settings.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-04-04 20:16:01 +0000
committerJens Arnold <amiconn@rockbox.org>2005-04-04 20:16:01 +0000
commitcf986e8d440015ca4d242e8e748576f779255d4a (patch)
treee26045b8adbd3d7dac09efa3073f04944b40f48a /apps/settings.c
parente1f70587ce13100e8b1703c55fa497e55ee7a3d3 (diff)
downloadrockbox-cf986e8d440015ca4d242e8e748576f779255d4a.tar.gz
rockbox-cf986e8d440015ca4d242e8e748576f779255d4a.zip
Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 39bb9b4d26..56dcd0af09 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -154,10 +154,12 @@ 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_RECORDING
/* keep synchronous to trig_durations and
trigger_times in settings_apply_trigger */
static const char trig_durations_conf [] =
"0s,1s,2s,5s,10s,15s,20s,25s,30s,1min,2min,5min,10min";
+#endif
/* the part of the settings which ends up in the RTC RAM, where available
(those we either need early, save frequently, or without spinup) */