summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-14 13:03:39 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-14 13:03:39 +0000
commit91beb7a46d45005f284b7662563664ef5c193e2f (patch)
treea64048b81fe31539a745fa697d1433bcfa3931f9
parent0d5e470a451319e5c671b14cd5dfd350bc2d9285 (diff)
downloadrockbox-91beb7a46d45005f284b7662563664ef5c193e2f.tar.gz
rockbox-91beb7a46d45005f284b7662563664ef5c193e2f.zip
Use same loop count for writing and memset'ing in test_mem to have same precision in the result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/test_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c
index 7758e35b98..df35893542 100644
--- a/apps/plugins/test_mem.c
+++ b/apps/plugins/test_mem.c
@@ -206,7 +206,7 @@ enum plugin_status plugin_start(const void* parameter)
#if defined(PLUGIN_USE_IRAM)
read_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM");
write_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM");
- memset_test(buf_iram, BUF_SIZE, LOOP_REPEAT_DRAM, line++, "IRAM");
+ memset_test(buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM");
memcpy_test(buf_iram, BUF_SIZE, LOOP_REPEAT_DRAM, line++, "IRAM");
#endif