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
This commit is contained in:
Nils Wallménius 2009-10-17 13:31:48 +00:00
parent a97133469b
commit 0659890804

View file

@ -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();
}