summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-30 19:29:54 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-12-23 11:39:58 +0000
commitfc678bd001937f4a218e57db629c7dae8648bf4a (patch)
tree318db96d3e1a90859a06e7acaa39638ad3dca2d3 /apps/plugin.h
parent9ae983068a7e9d73c0254639cca2e7d6390f7da5 (diff)
downloadrockbox-fc678bd001937f4a218e57db629c7dae8648bf4a.tar.gz
rockbox-fc678bd001937f4a218e57db629c7dae8648bf4a.zip
battery_bench: Log battery current information
Works on targets supporting CURRENT_MEASURE. Change-Id: I021b995c46fab923287ad54e72863695ef9ed58a
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f4bb91988a..7306e3fcba 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter);
155#define PLUGIN_MAGIC 0x526F634B /* RocK */ 155#define PLUGIN_MAGIC 0x526F634B /* RocK */
156 156
157/* increase this every time the api struct changes */ 157/* increase this every time the api struct changes */
158#define PLUGIN_API_VERSION 246 158#define PLUGIN_API_VERSION 247
159 159
160/* update this to latest version if a change to the api struct breaks 160/* update this to latest version if a change to the api struct breaks
161 backwards compatibility (and please take the opportunity to sort in any 161 backwards compatibility (and please take the opportunity to sort in any
@@ -931,6 +931,7 @@ struct plugin_api {
931 bool (*warn_on_pl_erase)(void); 931 bool (*warn_on_pl_erase)(void);
932 int (*playlist_insert_playlist)(struct playlist_info* playlist, 932 int (*playlist_insert_playlist)(struct playlist_info* playlist,
933 const char *filename, int position, bool queue); 933 const char *filename, int position, bool queue);
934 int (*battery_current)(void);
934}; 935};
935 936
936/* plugin header */ 937/* plugin header */