summaryrefslogtreecommitdiffstats
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.tar.bz2
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 = {
wheel_send_events,
#endif
-#ifdef IRIVER_H100_SERIES
+#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
/* Routines for the iriver_flash -plugin. */
detect_original_firmware,
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 {
void (*wheel_send_events)(bool send);
#endif
-#ifdef IRIVER_H100_SERIES
+#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
/* Routines for the iriver_flash -plugin. */
bool (*detect_original_firmware)(void);
bool (*detect_flashed_ramimage)(void);