summaryrefslogtreecommitdiff
path: root/apps/plugins/test_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_mem.c')
-rw-r--r--apps/plugins/test_mem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c
index b184897966..2a8582bc45 100644
--- a/apps/plugins/test_mem.c
+++ b/apps/plugins/test_mem.c
@@ -23,7 +23,11 @@
23 23
24PLUGIN_HEADER 24PLUGIN_HEADER
25 25
26#if PLUGIN_BUFFER_SIZE <= 0x8000
27#define BUF_SIZE (1<<12) /* 16 KB = (1<<12)*sizeof(int) */
28#else
26#define BUF_SIZE (1<<13) /* 32 KB = (1<<13)*sizeof(int) */ 29#define BUF_SIZE (1<<13) /* 32 KB = (1<<13)*sizeof(int) */
30#endif
27 31
28#define LOOP_REPEAT_DRAM 256 32#define LOOP_REPEAT_DRAM 256
29static volatile int buf_dram[BUF_SIZE]; 33static volatile int buf_dram[BUF_SIZE];
@@ -176,7 +180,9 @@ enum plugin_status plugin_start(const void* parameter)
176 bool boost = false; 180 bool boost = false;
177 int count = 0; 181 int count = 0;
178 182
183#ifdef HAVE_LCD_BITMAP
179 rb->lcd_setfont(FONT_SYSFIXED); 184 rb->lcd_setfont(FONT_SYSFIXED);
185#endif
180 186
181 rb->screens[0]->clear_display(); 187 rb->screens[0]->clear_display();
182 rb->screens[0]->putsf(0, 0, "patience, may take some seconds..."); 188 rb->screens[0]->putsf(0, 0, "patience, may take some seconds...");