This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11634 - settings_load_config() calls config_save()
Attached to Project:
Rockbox
Opened by Marcin Bukat (MarcinBukat) - Monday, 20 September 2010, 09:37 GMT+2
Last edited by Marcin Bukat (MarcinBukat) - Monday, 20 September 2010, 15:42 GMT+2
Opened by Marcin Bukat (MarcinBukat) - Monday, 20 September 2010, 09:37 GMT+2
Last edited by Marcin Bukat (MarcinBukat) - Monday, 20 September 2010, 15:42 GMT+2
|
DetailsI found accidentally that settings_load_config() which is called at startup of the rb calls config_save(). This means that config file is rewiriten on every system startup. This can impact flash wear.
look at apps/settings.c:370 |
This task depends upon
Closed by Marcin Bukat (MarcinBukat)
Monday, 20 September 2010, 15:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: commited as r28120
Monday, 20 September 2010, 15:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: commited as r28120
For me it looks like it was introduced in r12142 and never touched from then.