Dont boost so often, fixes FS#6845

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12832 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-03-18 13:25:18 +00:00
parent 5b61ebe84e
commit f34495deca

View file

@ -343,17 +343,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->lcd_update();
while (!exit)
{
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(1);
#endif
rb->gui_synclist_draw(&lists);
cur_sel = rb->gui_synclist_get_sel_pos(&lists);
button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK);
if (rb->gui_synclist_do_button(&lists,button,LIST_WRAP_UNLESS_HELD))
continue;
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(0);
#endif
switch (button)
{
case ACTION_STD_OK: