Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9085 - Stopwatch: Retain stopwatch times after exit

Attached to Project: Rockbox
Opened by Mike Burke (mrb2004) - Wednesday, 11 June 2008, 00:46 GMT+2
Last edited by Peter D'Hoye (petur) - Tuesday, 01 July 2008, 12:47 GMT+2
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch causes the Stopwatch plugin to save its state when exited, so that when it is restarted it continues where it left off.

Intended use is to overcome the problem of being unable to change songs/volume/etc while the stopwatch is running. After applying this patch, you can exit the stopwatch, do your work, then reload it: If the stopwatch was actively running when you exited, it will continue to run when you re-enter.

Lap times will still be present, and the current count will appear to continue without having lost any time at all.

Tiny first patch :) Made and tested on my Sansa e270.
   stopwatch-savestate.patch (2.6 KiB)
 apps/plugins/stopwatch.c |   74 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

This task depends upon

Closed by  Peter D'Hoye (petur)
Tuesday, 01 July 2008, 12:47 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  as of r17858, committer forgot to close this patch

Loading...