FS#11535 - Make sleep timer operational in simulator

Attached to Project: Rockbox
Opened by Michael Chicoine (mc2739) - Friday, 13 August 2010, 17:47 GMT
Last edited by Thomas Jarosch (thomasjfox) - Thursday, 03 March 2011, 00:04 GMT
Task Type Patches
Category Simulator
Status Closed
Assigned To Thomas Jarosch (thomasjfox)
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch makes the sleep timer operational in the simulator. Current svn allows you to set the sleep timer, but the timer does not count down.

Instead of shutting down as on target, playback is stopped and you are returned to the menu.
This task depends upon

Closed by  Thomas Jarosch (thomasjfox)
Thursday, 03 March 2011, 00:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  The sim now has a proper sleep timer implementation in SVN.

It will also shut down the sim to trigger the normal shutdown code path.
Comment by Michael Chicoine (mc2739) - Monday, 16 August 2010, 02:09 GMT
Move set_sleep_timer and get_sleep_timer to powermgmt-sim.c