summaryrefslogtreecommitdiff
path: root/firmware/events.c (follow)
Commit message (Collapse)AuthorAge
* Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz2009-10-20
| | | | | | | | | multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
* Correct wrong usage of event callbacks all over the place. It's not supposed ↵Thomas Martitz2009-10-20
| | | | | | | | to return anything, and should take a data parameter. Fixing it because correcting the event api prototypes causes many warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657
* Raise MAX_SYS_EVENTS to fix FS#10105 (*PANIC* event line full)Thomas Martitz2009-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20660 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9155 (Simplified battery bench). This is a simplification/rework of ↵Bertrik Sikken2008-08-14
| | | | | | the current battery bench code. Battery measurements are now done simply once a minute (no more dependency on HDD specific timeouts) and are flushed to disk by using the ata_idle callback instead of polling ata_disk_is_active (this call is removed from the plugin API now) to make the plugin as unobtrusive as possible. This battery bench plugin also works for flash-based targets like sansa e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18281 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Increased MAX_SYS_EVENTS from 10 to 16, since there are potentially more ↵Bertrik Sikken2008-05-26
| | | | | | than 10 events that can registered. Should fix FS#9039 - *PANIC* event line full (reproduceable). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17632 a1c6a512-1295-4272-9138-f99709370657
* Made events table static and moved MAX_SYS_EVENTS from events.c to events.h ↵Bertrik Sikken2008-05-20
| | | | | | to make it private. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17586 a1c6a512-1295-4272-9138-f99709370657
* Updated panicf in remove_event. Also fixed some comments.Bertrik Sikken2008-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17265 a1c6a512-1295-4272-9138-f99709370657
* It makes more sense for the callback registrar to decide if its a "oneshot" ↵Jonathan Gordon2008-03-17
| | | | | | | | | then the callback caller. (Doing it this way means playback could(/should?) registar a disk spinup callback at init which is called every spinup without needing to be reregistered) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16685 a1c6a512-1295-4272-9138-f99709370657
* Implement the playback event handling as a system-wide multi-purpose event ↵Miika Pekkarinen2008-03-16
system. Unified mpeg.c and playback.c audio event handling. Converted ata_idle_notify to use the new event handling system also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16682 a1c6a512-1295-4272-9138-f99709370657