summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-12 07:22:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-12 07:22:38 +0000
commit7cb80a2a70d7816ecc64444b47af1ba74190d7e2 (patch)
tree4e4bec0f6f381f6dfcf3a8b214ee17675074596a /apps/settings_list.h
parentbcf97a480115aa653af9e0eb5c012fc3673bc00f (diff)
downloadrockbox-7cb80a2a70d7816ecc64444b47af1ba74190d7e2.tar.gz
rockbox-7cb80a2a70d7816ecc64444b47af1ba74190d7e2.tar.bz2
rockbox-7cb80a2a70d7816ecc64444b47af1ba74190d7e2.zip
Fix a problem with the nvram settings which meant adding new items to the end needed the version bump (they dont anymore, but I'm bumping it now anyway to save some bug reports)
Also operator precedence fixing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14290 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index 9bc8eb9621..2034d85f93 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -96,7 +96,7 @@ struct choice_setting {
#define F_NVRAM_BYTES_MASK 0xE000 /*0-4 bytes can be stored */
#define F_NVRAM_MASK_SHIFT 13
-#define NVRAM_CONFIG_VERSION 2
+#define NVRAM_CONFIG_VERSION 3
/* Above define should be bumped if
- a new NVRAM setting is added between 2 other NVRAM settings
- number of bytes for a NVRAM setting is changed