summaryrefslogtreecommitdiffstats
path: root/firmware/events.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-08-14 22:35:00 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-08-14 22:35:00 +0000
commit9464fdde2d780206e1eddba8cafbfbd4bbff83e4 (patch)
tree17e9bde2a8546f2ca32ebf26537e4d834e0f35c4 /firmware/events.c
parent35823d8f6ecd51b150b1ac407276e42b47fcafae (diff)
downloadrockbox-9464fdde2d780206e1eddba8cafbfbd4bbff83e4.tar.gz
rockbox-9464fdde2d780206e1eddba8cafbfbd4bbff83e4.tar.bz2
rockbox-9464fdde2d780206e1eddba8cafbfbd4bbff83e4.zip
Apply FS#9155 (Simplified battery bench). This is a simplification/rework of 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
Diffstat (limited to 'firmware/events.c')
-rw-r--r--firmware/events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/events.c b/firmware/events.c
index 796ba858cb..0f1cf8f2ea 100644
--- a/firmware/events.c
+++ b/firmware/events.c
@@ -72,8 +72,6 @@ void remove_event(unsigned short id, void (*handler))
return;
}
}
-
- panicf("event %d not found", (int)id);
}
void send_event(unsigned short id, void *data)