1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/drivers/tuner
William Wilgus 7100090f99 Remove NVRAM infavor of a separate cfg file
remove nvram and use the existing settings framework for it

add a crc check to the user_settings data to see if we need to save
the user setting file or if we can just save the status file (resume.cfg)

move volume to the system_status struct so we don't write the whole settings file
over volume changes

allow user to still export volume with save sound settings

allow the user to also export pitch and speed

name the file .resume.cfg

Rename all the SYSTEM_STATUS save file variables to TLAs to save space and
discourage tinkering

Cleanup DEBUG_AVAIL_SETTINGS output

when saving user_settings it calls status_save as well this cause the resume
file to be written twice. instead remove the callback for status_save
when setting_save is called

remove header text when saving .resume.cfg

convert status_save() to status_save(bool force)
add SYSTEM_STATUS_UPDATE_TICKS

for ATA device set this to 5 minutes
since we arlready wait for the disk to be up before saving
we don't want to miss our window

for all other every 15 minutes

that way if the battery is too low by the time shutdown comes around you
don't lose much progress

Change-Id: I27214ffd6e5d5494ee5ca83b14f04a41ba426ad7
2025-01-21 00:04:32 -05:00
..
ipod_remote_tuner.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
lv24020lp.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
rda5802.c rda5802: document some registers 2024-10-27 09:10:15 -04:00
si4700.c si4700: remove unneeded ';' directly after a 'case' 2023-01-14 21:17:58 +01:00
stfm1000.c stfm1000: comment static unused function 2013-01-15 19:49:52 +00:00
tea5760uk.c tea5760uk: use correct i2c address on the Creative 2013-10-22 00:34:45 +02:00
tea5767.c Fix yellow introduced in f7a3b4dfa 2024-06-23 20:58:10 -04:00