diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2010-05-24 23:18:30 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2010-05-24 23:18:30 +0000 |
| commit | fead75812bec5a88bb042383b7fc9ecccb807a87 (patch) | |
| tree | ec0b46768b2e5e3b512df973eaf3bd76dd9a74ec /apps | |
| parent | cb185d28603de67bff000071f12e563573dcdc8f (diff) | |
| download | rockbox-fead75812bec5a88bb042383b7fc9ecccb807a87.zip rockbox-fead75812bec5a88bb042383b7fc9ecccb807a87.tar.gz rockbox-fead75812bec5a88bb042383b7fc9ecccb807a87.tar.bz2 rockbox-fead75812bec5a88bb042383b7fc9ecccb807a87.tar.xz | |
Fix test_mem for the archos plugin buffer size and for charcell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/test_mem.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index b184897..2a8582b 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c @@ -23,7 +23,11 @@ PLUGIN_HEADER +#if PLUGIN_BUFFER_SIZE <= 0x8000 +#define BUF_SIZE (1<<12) /* 16 KB = (1<<12)*sizeof(int) */ +#else #define BUF_SIZE (1<<13) /* 32 KB = (1<<13)*sizeof(int) */ +#endif #define LOOP_REPEAT_DRAM 256 static volatile int buf_dram[BUF_SIZE]; @@ -176,7 +180,9 @@ enum plugin_status plugin_start(const void* parameter) bool boost = false; int count = 0; +#ifdef HAVE_LCD_BITMAP rb->lcd_setfont(FONT_SYSFIXED); +#endif rb->screens[0]->clear_display(); rb->screens[0]->putsf(0, 0, "patience, may take some seconds..."); |