Final commit to get test_codec working properly for both freq-scaling and non-freq-scaling targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30375 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-08-29 13:48:31 +00:00
parent 656625b30e
commit 152c4fb819

View file

@ -831,10 +831,7 @@ enum plugin_status plugin_start(const void* parameter)
enum enum
{ {
#ifdef HAVE_ADJUSTABLE_CPU_FREQ SPEED_TEST = 0,
BOOST = 0,
#endif
SPEED_TEST = 1,
SPEED_TEST_DIR, SPEED_TEST_DIR,
WRITE_WAV, WRITE_WAV,
SPEED_TEST_WITH_DSP, SPEED_TEST_WITH_DSP,
@ -843,13 +840,13 @@ enum plugin_status plugin_start(const void* parameter)
CHECKSUM, CHECKSUM,
CHECKSUM_DIR, CHECKSUM_DIR,
QUIT, QUIT,
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
BOOST,
#endif
}; };
MENUITEM_STRINGLIST( MENUITEM_STRINGLIST(
menu, "test_codec", NULL, menu, "test_codec", NULL,
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
"Boosting",
#endif
"Speed test", "Speed test",
"Speed test folder", "Speed test folder",
"Write WAV", "Write WAV",
@ -859,6 +856,9 @@ enum plugin_status plugin_start(const void* parameter)
"Checksum", "Checksum",
"Checksum folder", "Checksum folder",
"Quit", "Quit",
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
"Boosting",
#endif
); );