diff options
-rw-r--r-- | apps/playback.c | 6 | ||||
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 5 | ||||
-rw-r--r-- | firmware/drivers/lcd-h100.c | 6 |
3 files changed, 3 insertions, 14 deletions
diff --git a/apps/playback.c b/apps/playback.c index d5866121ba..edeaedb118 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -110,11 +110,7 @@ static const char audio_thread_name[] = "audio"; /* Codec thread. */ static struct event_queue codec_queue; -static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] -#ifndef SIMULATOR -__attribute__ ((section(".idata"))) -#endif -; +static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] IDATA_ATTR; static const char codec_thread_name[] = "codec"; static struct mutex mutex_bufferfill; 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 @@ /*** 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 379838d068..1a40a2535c 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; |