diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 5166f4ef5e..34640d8b92 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2140,7 +2140,7 @@ int show_menu(void) /* return 1 to quit */ | |||
2140 | case 4: | 2140 | case 4: |
2141 | break; | 2141 | break; |
2142 | } | 2142 | } |
2143 | MYLCD(clear_display)(); | 2143 | rb->lcd_clear_display(); |
2144 | rb->menu_exit(m); | 2144 | rb->menu_exit(m); |
2145 | return 0; | 2145 | return 0; |
2146 | } | 2146 | } |
@@ -2727,13 +2727,14 @@ int load_and_show(char* filename) | |||
2727 | 2727 | ||
2728 | #ifdef USEGSLIB | 2728 | #ifdef USEGSLIB |
2729 | gray_show(false); /* switch off overlay */ | 2729 | gray_show(false); /* switch off overlay */ |
2730 | #else | ||
2731 | rb->lcd_clear_display(); | ||
2732 | #endif | 2730 | #endif |
2733 | 2731 | rb->lcd_clear_display(); | |
2734 | } | 2732 | } |
2735 | while (status != PLUGIN_OK && status != PLUGIN_USB_CONNECTED | 2733 | while (status != PLUGIN_OK && status != PLUGIN_USB_CONNECTED |
2736 | && status != PLUGIN_OTHER); | 2734 | && status != PLUGIN_OTHER); |
2735 | #ifdef USEGSLIB | ||
2736 | rb->lcd_update(); | ||
2737 | #endif | ||
2737 | return status; | 2738 | return status; |
2738 | } | 2739 | } |
2739 | 2740 | ||