From 3681ff197d3cf5393df3d56d7b6f7b39af0fc47f Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 3 Jan 2009 12:48:06 +0000 Subject: Reorder of user_settings, cleaned out some unused settings grouped settings depending on the same preprocessor defines together a bit more to make it more readable, updated some comments. Plugin api bump and the wps token for 12/24 hour clock setting is now excluded for non rtc targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19655 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/gui/gwps-common.c') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 5e134b5fa3..2b1d6417e2 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1147,12 +1147,13 @@ static const char *get_token_value(struct gui_wps *gwps, *intval = global_settings.repeat_mode + 1; snprintf(buf, buf_size, "%d", global_settings.repeat_mode); return buf; +#if CONFIG_RTC case WPS_TOKEN_RTC_12HOUR_CFG: if (intval) *intval = global_settings.timeformat + 1; snprintf(buf, buf_size, "%d", global_settings.timeformat); return buf; -#if CONFIG_RTC + case WPS_TOKEN_RTC_DAY_OF_MONTH: /* d: day of month (01..31) */ snprintf(buf, buf_size, "%02d", tm->tm_mday); -- cgit v1.2.3