summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-17 13:31:48 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-17 13:31:48 +0000
commit0659890804d8443a75b4cc5b91c6aec45821effc (patch)
tree0f55c0663609f42c5bc2a8b969c81fbe76fd489a
parenta97133469b58deca0ad3cf069d48fb7b69972983 (diff)
downloadrockbox-0659890804d8443a75b4cc5b91c6aec45821effc.tar.gz
rockbox-0659890804d8443a75b4cc5b91c6aec45821effc.zip
fix yellow by 'un-staticing' the printing wrapper function and typo causing red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23226 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 8f28788585..e863911602 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -123,7 +123,7 @@
123#endif 123#endif
124 124
125/* wrapper function to format a string and print it */ 125/* wrapper function to format a string and print it */
126static void debug_printf(int y, const unsigned char *fmt, ...) 126void debug_printf(int y, const unsigned char *fmt, ...)
127{ 127{
128 va_list ap; 128 va_list ap;
129 char buf[128]; 129 char buf[128];
@@ -2456,7 +2456,7 @@ static bool dbg_scrollwheel(void)
2456 2456
2457 /* show effective accelerated scrollspeed */ 2457 /* show effective accelerated scrollspeed */
2458 speed = button_apply_acceleration( (1<<31)|(1<<24)|wheel_velocity); 2458 speed = button_apply_acceleration( (1<<31)|(1<<24)|wheel_velocity);
2459 debug_printf(6 "accel. speed: %4d", speed); 2459 debug_printf(6, "accel. speed: %4d", speed);
2460 2460
2461 lcd_update(); 2461 lcd_update();
2462 } 2462 }