summaryrefslogtreecommitdiff
path: root/apps/plugins/iriver_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r--apps/plugins/iriver_flash.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c
index a1ce22c..b744eac 100644
--- a/apps/plugins/iriver_flash.c
+++ b/apps/plugins/iriver_flash.c
@@ -27,16 +27,10 @@
unsigned char *audiobuf;
ssize_t audiobuf_size;
-#ifdef IRIVER_H100_SERIES
-#define PLATFORM_ID ID_IRIVER_H100
-#else
-#undef PLATFORM_ID /* this platform is not (yet) flashable */
+#ifndef IRIVER_H100_SERIES
+#error this platform is not (yet) flashable
#endif
-#ifdef PLATFORM_ID
-
-
-
#if CONFIG_KEYPAD == IRIVER_H100_PAD
#define KEY1 BUTTON_OFF
#define KEY2 BUTTON_ON
@@ -770,5 +764,3 @@ enum plugin_status plugin_start(const void* parameter)
return PLUGIN_OK;
}
-
-#endif /* ifdef PLATFORM_ID */