summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index f70b648a49..912445ffe4 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -221,6 +221,9 @@ int plugin_load(char* plugin, void* parameter)
221#else 221#else
222 int fd; 222 int fd;
223#endif 223#endif
224#ifdef HAVE_LCD_BITMAP
225 int xm,ym;
226#endif
224 227
225 if (pfn_tsr_exit != NULL) /* if we have a resident old plugin: */ 228 if (pfn_tsr_exit != NULL) /* if we have a resident old plugin: */
226 { 229 {
@@ -229,7 +232,6 @@ int plugin_load(char* plugin, void* parameter)
229 } 232 }
230 233
231#ifdef HAVE_LCD_BITMAP 234#ifdef HAVE_LCD_BITMAP
232 int xm,ym;
233 lcd_clear_display(); 235 lcd_clear_display();
234 xm = lcd_getxmargin(); 236 xm = lcd_getxmargin();
235 ym = lcd_getymargin(); 237 ym = lcd_getymargin();