diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-30 19:29:54 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-12-23 11:39:58 +0000 |
commit | fc678bd001937f4a218e57db629c7dae8648bf4a (patch) | |
tree | 318db96d3e1a90859a06e7acaa39638ad3dca2d3 /apps/plugin.c | |
parent | 9ae983068a7e9d73c0254639cca2e7d6390f7da5 (diff) | |
download | rockbox-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.c')
-rw-r--r-- | apps/plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 89905b1435..bd7f74e65f 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -804,6 +804,7 @@ static const struct plugin_api rockbox_api = { | |||
804 | the API gets incompatible */ | 804 | the API gets incompatible */ |
805 | warn_on_pl_erase, | 805 | warn_on_pl_erase, |
806 | playlist_insert_playlist, | 806 | playlist_insert_playlist, |
807 | battery_current, | ||
807 | }; | 808 | }; |
808 | 809 | ||
809 | static int plugin_buffer_handle; | 810 | static int plugin_buffer_handle; |