forked from len0rd/rockbox
battery_bench: Log battery current information
Works on targets supporting CURRENT_MEASURE. Change-Id: I021b995c46fab923287ad54e72863695ef9ed58a
This commit is contained in:
parent
9ae983068a
commit
fc678bd001
3 changed files with 19 additions and 2 deletions
|
|
@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter);
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 246
|
||||
#define PLUGIN_API_VERSION 247
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
|
@ -931,6 +931,7 @@ struct plugin_api {
|
|||
bool (*warn_on_pl_erase)(void);
|
||||
int (*playlist_insert_playlist)(struct playlist_info* playlist,
|
||||
const char *filename, int position, bool queue);
|
||||
int (*battery_current)(void);
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue