diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-03 15:09:11 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-03 15:09:11 +0000 |
commit | bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0 (patch) | |
tree | f2e9c2a2a8162edf689fba305b7390e1efed2178 /firmware/drivers | |
parent | d2456b44f73e6a1310d8dc2c98db92364b70e793 (diff) | |
download | rockbox-bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0.tar.gz rockbox-bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0.zip |
Use the central IDATA_ATTR define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-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 eaf61260cb..8fa193ac9b 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -67,10 +67,7 @@ | |||
67 | /*** globals ***/ | 67 | /*** globals ***/ |
68 | 68 | ||
69 | unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] | 69 | unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] |
70 | #ifndef SIMULATOR | 70 | IDATA_ATTR; |
71 | __attribute__ ((section(".idata"))) | ||
72 | #endif | ||
73 | ; | ||
74 | 71 | ||
75 | static int drawmode = DRMODE_SOLID; | 72 | static int drawmode = DRMODE_SOLID; |
76 | static int xmargin = 0; | 73 | static int xmargin = 0; |
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 379838d068..1a40a2535c 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c | |||
@@ -60,11 +60,7 @@ | |||
60 | 60 | ||
61 | /*** globals ***/ | 61 | /*** globals ***/ |
62 | 62 | ||
63 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] | 63 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] IDATA_ATTR; |
64 | #ifndef SIMULATOR | ||
65 | __attribute__ ((section(".idata"))) | ||
66 | #endif | ||
67 | ; | ||
68 | 64 | ||
69 | static int drawmode = DRMODE_SOLID; | 65 | static int drawmode = DRMODE_SOLID; |
70 | static int xmargin = 0; | 66 | static int xmargin = 0; |