diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 0fa077c7ba..252217f4a6 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -550,7 +550,7 @@ void lcd_set_contrast(int val) * * Memory copy of display bitmap */ -unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8] __attribute__ ((section (".idata"))); +unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; static int font=0; static int xmargin=0; diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index ac7a7d505b..6b4363bf1a 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -96,7 +96,7 @@ extern void lcd_double_height (bool on); /* * Memory copy of display bitmap */ -extern unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8] __attribute__ ((section (".idata"))); +extern unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; extern void lcd_putsxy(int x, int y, unsigned char *string, int font); extern void lcd_setfont(int font);