Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Help with settings.c. Please? Please??

Help with settings.c. Please? Please??

From: TP Diffenbach <rockbox_at_diffenbach.org>
Date: Wed, 23 Apr 2003 20:23:07 -0400

I'm having some very frustrating problems with settings.c

I've increased CONFIG_BLOCK_SIZE from 512 to 514, and am (trying to) saving a value to config_block[ 513 ].

I can successfully write the value, but when I reboot it's always read as zero (0).

Am I making some stupid error, or is config_block limited to 512 bytes, or can it be larger but something other than just CONFIG_BLOCK_SIZE must be changed to reflect this?

Also, does changing any single setting result in all settings being written to config_block, and config_block being saved to disk?

Thanks,
Tom

-- 
Archos FM needs a Rockbox!
Received on 2003-04-24

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy