summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-25 23:34:45 +0000
committerSolomon Peachy <pizza@shaftnet.org>2020-10-26 01:07:14 +0000
commitf7e0ce8fb96d9e8d8428925abac7d9a6ceb3d83a (patch)
treeb00065311c19229fb39185175325cf20c383a32e
parent39a0d8bf86da56b9725682c25aa9fd76e91badad (diff)
downloadrockbox-f7e0ce8fb96d9e8d8428925abac7d9a6ceb3d83a.tar.gz
rockbox-f7e0ce8fb96d9e8d8428925abac7d9a6ceb3d83a.zip
h300: expose the firmware functions in the plugin API
Change-Id: Ieff0aa0a4134e347b2ee690d60b25fdac5958a6b
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6509a43d69..bdb2d64239 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -782,7 +782,7 @@ static const struct plugin_api rockbox_api = {
782 wheel_send_events, 782 wheel_send_events,
783#endif 783#endif
784 784
785#ifdef IRIVER_H100_SERIES 785#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
786 /* Routines for the iriver_flash -plugin. */ 786 /* Routines for the iriver_flash -plugin. */
787 detect_original_firmware, 787 detect_original_firmware,
788 detect_flashed_ramimage, 788 detect_flashed_ramimage,
diff --git a/apps/plugin.h b/apps/plugin.h
index 38d0ee0fff..12b7e68447 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -908,7 +908,7 @@ struct plugin_api {
908 void (*wheel_send_events)(bool send); 908 void (*wheel_send_events)(bool send);
909#endif 909#endif
910 910
911#ifdef IRIVER_H100_SERIES 911#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
912 /* Routines for the iriver_flash -plugin. */ 912 /* Routines for the iriver_flash -plugin. */
913 bool (*detect_original_firmware)(void); 913 bool (*detect_original_firmware)(void);
914 bool (*detect_flashed_ramimage)(void); 914 bool (*detect_flashed_ramimage)(void);