diff options
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 5 | ||||
| -rw-r--r-- | firmware/drivers/lcd-h100.c | 6 |
2 files changed, 2 insertions, 9 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index eaf6126..8fa193a 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c @@ -67,10 +67,7 @@ /*** globals ***/ unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] -#ifndef SIMULATOR - __attribute__ ((section(".idata"))) -#endif - ; + IDATA_ATTR; static int drawmode = DRMODE_SOLID; static int xmargin = 0; diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 379838d..1a40a25 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -60,11 +60,7 @@ /*** globals ***/ -unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] -#ifndef SIMULATOR - __attribute__ ((section(".idata"))) -#endif - ; +unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] IDATA_ATTR; static int drawmode = DRMODE_SOLID; static int xmargin = 0; |