diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index a908016703..876f82d774 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -591,6 +591,7 @@ int plugin_load(const char* plugin, void* parameter) | |||
591 | #ifdef HAVE_LCD_BITMAP | 591 | #ifdef HAVE_LCD_BITMAP |
592 | #if LCD_DEPTH > 1 | 592 | #if LCD_DEPTH > 1 |
593 | #ifdef HAVE_LCD_COLOR | 593 | #ifdef HAVE_LCD_COLOR |
594 | lcd_set_backdrop(old_backdrop); | ||
594 | lcd_set_drawinfo(DRMODE_SOLID, global_settings.fg_color, | 595 | lcd_set_drawinfo(DRMODE_SOLID, global_settings.fg_color, |
595 | global_settings.bg_color); | 596 | global_settings.bg_color); |
596 | #else | 597 | #else |
@@ -601,15 +602,17 @@ int plugin_load(const char* plugin, void* parameter) | |||
601 | #endif /* LCD_DEPTH */ | 602 | #endif /* LCD_DEPTH */ |
602 | /* restore margins */ | 603 | /* restore margins */ |
603 | lcd_setmargins(xm,ym); | 604 | lcd_setmargins(xm,ym); |
604 | #ifdef HAVE_LCD_COLOR | ||
605 | lcd_set_backdrop(old_backdrop); | ||
606 | #endif | ||
607 | lcd_clear_display(); | 605 | lcd_clear_display(); |
608 | lcd_update(); | 606 | lcd_update(); |
609 | #endif /* HAVE_LCD_BITMAP */ | 607 | #endif /* HAVE_LCD_BITMAP */ |
610 | 608 | ||
611 | #ifdef HAVE_REMOTE_LCD | 609 | #ifdef HAVE_REMOTE_LCD |
610 | #if LCD_REMOTE_DEPTH > 1 | ||
611 | lcd_remote_set_drawinfo(DRMODE_SOLID, LCD_REMOTE_DEFAULT_FG, | ||
612 | LCD_REMOTE_DEFAULT_BG); | ||
613 | #else | ||
612 | lcd_remote_set_drawmode(DRMODE_SOLID); | 614 | lcd_remote_set_drawmode(DRMODE_SOLID); |
615 | #endif | ||
613 | lcd_remote_setmargins(rxm, rym); | 616 | lcd_remote_setmargins(rxm, rym); |
614 | lcd_remote_clear_display(); | 617 | lcd_remote_clear_display(); |
615 | lcd_remote_update(); | 618 | lcd_remote_update(); |