forked from len0rd/rockbox
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:
parent
5b61ebe84e
commit
f34495deca
1 changed files with 0 additions and 6 deletions
|
@ -343,17 +343,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
rb->lcd_update();
|
rb->lcd_update();
|
||||||
while (!exit)
|
while (!exit)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
|
||||||
rb->cpu_boost(1);
|
|
||||||
#endif
|
|
||||||
rb->gui_synclist_draw(&lists);
|
rb->gui_synclist_draw(&lists);
|
||||||
cur_sel = rb->gui_synclist_get_sel_pos(&lists);
|
cur_sel = rb->gui_synclist_get_sel_pos(&lists);
|
||||||
button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK);
|
button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK);
|
||||||
if (rb->gui_synclist_do_button(&lists,button,LIST_WRAP_UNLESS_HELD))
|
if (rb->gui_synclist_do_button(&lists,button,LIST_WRAP_UNLESS_HELD))
|
||||||
continue;
|
continue;
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
|
||||||
rb->cpu_boost(0);
|
|
||||||
#endif
|
|
||||||
switch (button)
|
switch (button)
|
||||||
{
|
{
|
||||||
case ACTION_STD_OK:
|
case ACTION_STD_OK:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue