Rockbox General > Rockbox General Discussion
Remember Sleep-Timer on boot
AlexP:
Cool, please do. I'm sure you've spotted it, but rockbox is written in C with bits of ASM here and there.
dana7:
DanRock,
I wish you well, because I would love to see that feature too.
Most useful.
Please hurry! :)
DanRock:
Progress. I have managed to build the baseline system ok. I also have a working test build which defaults the sleep_timer to some positive value.
That was the easy part. Now I need to figure out reading/writing the config file and adding a new menu option.
Llorean:
One easy solution: Set the config loading to *load* a sleep timer value, but prevent the "manage config" from saving a sleep timer value. That way the current behaviour of "don't save sleep timer settings on manual poweroff" is kept, but you can add a sleep timer line to your fixed.cfg if you want it to load at boot every time.
DanRock:
I think that's exactly the behaviour we're all looking to have. Thank you for the guidance. I'll do as you suggest.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version