summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/lcd-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/lcd-x11.c')
-rw-r--r--uisimulator/x11/lcd-x11.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c
index 41bf0d1ec0..0a3b40e163 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -53,11 +53,9 @@ extern bool lcd_display_redraw;
#ifdef HAVE_LCD_BITMAP
#if LCD_DEPTH==16
-extern unsigned char lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH*2];
-unsigned char lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2];
+fb_data lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2];
#else
-extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH];
-unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH];
+fb_data lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH];
#endif
void lcd_update (void)