From 1509faf618641a5dd1e8b33e0c1617dc521aa27c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 2 Mar 2008 16:57:14 +0000 Subject: [PATCH] Use IRAM where appropriate when testing framerate, for more realistic results for the greyscale library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16481 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_fps.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index 37a93cc489..6da5255e13 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c @@ -22,6 +22,8 @@ #ifdef HAVE_LCD_BITMAP +PLUGIN_IRAM_DECLARE + #if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ (CONFIG_KEYPAD == IPOD_1G2G_PAD) #define FPS_QUIT BUTTON_MENU @@ -258,7 +260,7 @@ static void time_remote_update(void) #if LCD_DEPTH < 4 -GREY_INFO_STRUCT +GREY_INFO_STRUCT_IRAM static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH]; static void make_grey_rect(int width, int height) @@ -337,6 +339,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) #endif /* standard stuff */ + PLUGIN_IRAM_INIT(api) (void)parameter; rb = api;