diff options
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 8c624dcc9a..b2144e2169 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -303,7 +303,7 @@ static bool dbg_buffering_thread(void) | |||
303 | lcd_setfont(FONT_SYSFIXED); | 303 | lcd_setfont(FONT_SYSFIXED); |
304 | while(!done) | 304 | while(!done) |
305 | { | 305 | { |
306 | button = get_action(CONTEXT_STD,HZ*2); | 306 | button = get_action(CONTEXT_STD,HZ/5); |
307 | switch(button) | 307 | switch(button) |
308 | { | 308 | { |
309 | case ACTION_STD_NEXT: | 309 | case ACTION_STD_NEXT: |
@@ -2041,9 +2041,9 @@ static int database_callback(int btn, struct gui_synclist *lists) | |||
2041 | simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s", | 2041 | simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s", |
2042 | stat->commit_delayed ? "Yes" : "No"); | 2042 | stat->commit_delayed ? "Yes" : "No"); |
2043 | 2043 | ||
2044 | simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d", | 2044 | simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d", |
2045 | stat->queue_length); | 2045 | stat->queue_length); |
2046 | 2046 | ||
2047 | if (synced) | 2047 | if (synced) |
2048 | { | 2048 | { |
2049 | synced = false; | 2049 | synced = false; |
@@ -2068,7 +2068,7 @@ static bool dbg_tagcache_info(void) | |||
2068 | info.action_callback = database_callback; | 2068 | info.action_callback = database_callback; |
2069 | info.hide_selection = true; | 2069 | info.hide_selection = true; |
2070 | info.scroll_all = true; | 2070 | info.scroll_all = true; |
2071 | 2071 | ||
2072 | /* Don't do nonblock here, must give enough processing time | 2072 | /* Don't do nonblock here, must give enough processing time |
2073 | for tagcache thread. */ | 2073 | for tagcache thread. */ |
2074 | /* info.timeout = TIMEOUT_NOBLOCK; */ | 2074 | /* info.timeout = TIMEOUT_NOBLOCK; */ |
@@ -2428,7 +2428,7 @@ static bool dbg_isp1583(void) | |||
2428 | struct simplelist_info isp1583; | 2428 | struct simplelist_info isp1583; |
2429 | isp1583.scroll_all = true; | 2429 | isp1583.scroll_all = true; |
2430 | simplelist_info_init(&isp1583, "ISP1583", dbg_usb_num_items(), NULL); | 2430 | simplelist_info_init(&isp1583, "ISP1583", dbg_usb_num_items(), NULL); |
2431 | isp1583.timeout = HZ/100; | 2431 | isp1583.timeout = HZ/100; |
2432 | isp1583.hide_selection = true; | 2432 | isp1583.hide_selection = true; |
2433 | isp1583.get_name = dbg_usb_item; | 2433 | isp1583.get_name = dbg_usb_item; |
2434 | isp1583.action_callback = isp1583_action_callback; | 2434 | isp1583.action_callback = isp1583_action_callback; |
@@ -2453,7 +2453,7 @@ static bool dbg_pic(void) | |||
2453 | struct simplelist_info pic; | 2453 | struct simplelist_info pic; |
2454 | pic.scroll_all = true; | 2454 | pic.scroll_all = true; |
2455 | simplelist_info_init(&pic, "PIC", pic_dbg_num_items(), NULL); | 2455 | simplelist_info_init(&pic, "PIC", pic_dbg_num_items(), NULL); |
2456 | pic.timeout = HZ/100; | 2456 | pic.timeout = HZ/100; |
2457 | pic.hide_selection = true; | 2457 | pic.hide_selection = true; |
2458 | pic.get_name = pic_dbg_item; | 2458 | pic.get_name = pic_dbg_item; |
2459 | pic.action_callback = pic_action_callback; | 2459 | pic.action_callback = pic_action_callback; |