diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2008-07-17 18:36:47 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-07-17 18:36:47 +0000 |
| commit | b9eb18260f5c37f054cdb29b038c0c1673c0c066 (patch) | |
| tree | 4ed6435336c99cea1d596be4fe31d92fe6a21eb8 /apps/debug_menu.c | |
| parent | 1334738071b89982cc23b3a246fc5deba7a6fc3c (diff) | |
| download | rockbox-b9eb18260f5c37f054cdb29b038c0c1673c0c066.zip rockbox-b9eb18260f5c37f054cdb29b038c0c1673c0c066.tar.gz rockbox-b9eb18260f5c37f054cdb29b038c0c1673c0c066.tar.bz2 rockbox-b9eb18260f5c37f054cdb29b038c0c1673c0c066.tar.xz | |
Too much on the last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18085 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 8c624dc..b2144e2 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -303,7 +303,7 @@ static bool dbg_buffering_thread(void) lcd_setfont(FONT_SYSFIXED); while(!done) { - button = get_action(CONTEXT_STD,HZ*2); + button = get_action(CONTEXT_STD,HZ/5); switch(button) { case ACTION_STD_NEXT: @@ -2041,9 +2041,9 @@ static int database_callback(int btn, struct gui_synclist *lists) simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s", stat->commit_delayed ? "Yes" : "No"); - simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d", + simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d", stat->queue_length); - + if (synced) { synced = false; @@ -2068,7 +2068,7 @@ static bool dbg_tagcache_info(void) info.action_callback = database_callback; info.hide_selection = true; info.scroll_all = true; - + /* Don't do nonblock here, must give enough processing time for tagcache thread. */ /* info.timeout = TIMEOUT_NOBLOCK; */ @@ -2428,7 +2428,7 @@ static bool dbg_isp1583(void) struct simplelist_info isp1583; isp1583.scroll_all = true; simplelist_info_init(&isp1583, "ISP1583", dbg_usb_num_items(), NULL); - isp1583.timeout = HZ/100; + isp1583.timeout = HZ/100; isp1583.hide_selection = true; isp1583.get_name = dbg_usb_item; isp1583.action_callback = isp1583_action_callback; @@ -2453,7 +2453,7 @@ static bool dbg_pic(void) struct simplelist_info pic; pic.scroll_all = true; simplelist_info_init(&pic, "PIC", pic_dbg_num_items(), NULL); - pic.timeout = HZ/100; + pic.timeout = HZ/100; pic.hide_selection = true; pic.get_name = pic_dbg_item; pic.action_callback = pic_action_callback; |