diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-24 21:59:44 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-24 21:59:44 +0000 |
| commit | 52d298044f087ba726d2717bafb215fad362e347 (patch) | |
| tree | 25a0e49cf8405786ffecab8236410e6749322db4 /apps/plugin.h | |
| parent | ed1a3355deac93683a25296e573d65729bb3f2e7 (diff) | |
| download | rockbox-52d298044f087ba726d2717bafb215fad362e347.zip rockbox-52d298044f087ba726d2717bafb215fad362e347.tar.gz rockbox-52d298044f087ba726d2717bafb215fad362e347.tar.bz2 rockbox-52d298044f087ba726d2717bafb215fad362e347.tar.xz | |
Enable the charging_status function also for targets with target-specific battery charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 286e6bc..d261ea5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -128,12 +128,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 144 +#define PLUGIN_API_VERSION 145 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 144 +#define PLUGIN_MIN_API_VERSION 145 /* plugin return codes */ enum plugin_status { @@ -658,7 +658,7 @@ struct plugin_api { #endif #if CONFIG_CHARGING bool (*charger_inserted)(void); -# if CONFIG_CHARGING == CHARGING_MONITOR +# if CONFIG_CHARGING >= CHARGING_MONITOR bool (*charging_state)(void); # endif #endif |