summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parenta97133469b58deca0ad3cf069d48fb7b69972983 (diff)
downloadrockbox-0659890804d8443a75b4cc5b91c6aec45821effc.tar.gz
rockbox-0659890804d8443a75b4cc5b91c6aec45821effc.tar.bz2
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
Diffstat (limited to 'apps')
-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 @@
#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();
}