From 9afce4d35997ce0883474d3f978aa570b7233f03 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sat, 21 Oct 2006 14:47:55 +0000 Subject: Disk spindown control during jpeg slideshow: for times below 10s, keep the disk spinning, for longer times spin down the disk immediately after loading the picture. Inspired by #FS5653 (Paul Jam / Gwen Roelants) and Jens Arnold git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11299 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 461c0d8..609f4cc 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -105,7 +105,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 32 +#define PLUGIN_API_VERSION 33 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -552,6 +552,7 @@ struct plugin_api { int (*wheel_status)(void); void (*wheel_send_events)(bool send); #endif + void (*ata_spindown)(int seconds); }; /* plugin header */ -- cgit v1.1