diff options
Diffstat (limited to 'apps/plugins/firmware_flash.c')
| -rw-r--r-- | apps/plugins/firmware_flash.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index 43ed7a8..317bc92 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c @@ -74,11 +74,9 @@ #define KEEP MASK_ADR /* keep the mask value */ #define PLATFORM_ID ID_ONDIO_SP #else -#undef PLATFORM_ID /* this platform is not (yet) flashable */ +#error this platform is not (yet) flashable #endif -#ifdef PLATFORM_ID - PLUGIN_HEADER #if CONFIG_KEYPAD == ONDIO_PAD /* limited keypad */ @@ -1040,5 +1038,3 @@ enum plugin_status plugin_start(const void* parameter) return PLUGIN_OK; } - -#endif /* ifdef PLATFORM_ID */ |