From f7e0ce8fb96d9e8d8428925abac7d9a6ceb3d83a Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 25 Oct 2020 23:34:45 +0000 Subject: h300: expose the firmware functions in the plugin API Change-Id: Ieff0aa0a4134e347b2ee690d60b25fdac5958a6b --- apps/plugin.c | 2 +- apps/plugin.h | 2 +- 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); -- cgit v1.2.3