From 0659890804d8443a75b4cc5b91c6aec45821effc Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 17 Oct 2009 13:31:48 +0000 Subject: 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 --- apps/debug_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/debug_menu.c') 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 @@ #endif /* wrapper function to format a string and print it */ -static void debug_printf(int y, const unsigned char *fmt, ...) +void debug_printf(int y, const unsigned char *fmt, ...) { va_list ap; char buf[128]; @@ -2456,7 +2456,7 @@ static bool dbg_scrollwheel(void) /* show effective accelerated scrollspeed */ speed = button_apply_acceleration( (1<<31)|(1<<24)|wheel_velocity); - debug_printf(6 "accel. speed: %4d", speed); + debug_printf(6, "accel. speed: %4d", speed); lcd_update(); } -- cgit v1.2.3