From 05434ebaf8842330997bfea5cbe262f9b832ef6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 24 Nov 2010 16:42:40 +0000 Subject: [PATCH] test_codec: fix menu broken in r28637 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28659 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_codec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 7adaa8ea1c..2d0f610d88 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -891,7 +891,11 @@ menu: scandir = 0; if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR))) +#ifdef HAVE_ADJUSTABLE_CPU_FREQ + result -= 7; +#else result -= 6; +#endif if ((use_dsp = ((result >= SPEED_TEST_WITH_DSP) && (result <= WRITE_WAV_WITH_DSP)))) {