diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/rockbox_flash.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index 67e0753503..c942683cf1 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | /* Only build for target */ | 23 | /* Only build for target */ |
24 | #ifndef SIMULATOR | 24 | #ifndef SIMULATOR |
25 | #ifdef HAVE_LCD_BITMAP | ||
25 | 26 | ||
26 | #ifndef UINT8 | 27 | #ifndef UINT8 |
27 | #define UINT8 unsigned char | 28 | #define UINT8 unsigned char |
@@ -450,8 +451,6 @@ unsigned VerifyImageFile(char* filename, UINT8* pos, | |||
450 | /***************** User Interface Functions *****************/ | 451 | /***************** User Interface Functions *****************/ |
451 | /* (to be changed for Player) */ | 452 | /* (to be changed for Player) */ |
452 | 453 | ||
453 | #ifdef HAVE_LCD_BITMAP | ||
454 | |||
455 | /* helper for DoUserDialog() */ | 454 | /* helper for DoUserDialog() */ |
456 | void ShowFlashInfo(tFlashInfo* pInfo, tImageHeader* pImageHeader) | 455 | void ShowFlashInfo(tFlashInfo* pInfo, tImageHeader* pImageHeader) |
457 | { | 456 | { |
@@ -656,16 +655,6 @@ void DoUserDialog(char* filename) | |||
656 | button = rb->button_get(true); | 655 | button = rb->button_get(true); |
657 | } | 656 | } |
658 | 657 | ||
659 | #else /* HAVE_LCD_BITMAP */ | ||
660 | |||
661 | /* Player implementation has to go here */ | ||
662 | void DoUserDialog(void) | ||
663 | { | ||
664 | } | ||
665 | |||
666 | #endif /* HAVE_LCD_BITMAP */ | ||
667 | |||
668 | |||
669 | /***************** Plugin Entry Point *****************/ | 658 | /***************** Plugin Entry Point *****************/ |
670 | 659 | ||
671 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 660 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) |
@@ -691,3 +680,5 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
691 | } | 680 | } |
692 | 681 | ||
693 | #endif | 682 | #endif |
683 | |||
684 | #endif | ||