From cf2ce17d0998e3cdcb055b4ffceafe8c94cd66a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sat, 28 Aug 2010 21:46:22 +0000 Subject: [PATCH] pitch_detector: use lcd_putsxyf(), not lcd_putsf() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27922 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pitch_detector.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index afb38ce976..22e8f75a7b 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -634,11 +634,11 @@ static void draw_bar(fixed wrong_by_cents) #if LCD_DEPTH > 1 rb->lcd_set_foreground(front_color); #endif - rb->lcd_putsf(lbl_x_minus_50 ,bar_grad_y, "%d", -50); - rb->lcd_putsf(lbl_x_minus_20 ,bar_grad_y, "%d", -20); - rb->lcd_putsf(lbl_x_0 ,bar_grad_y, "%d", 0); - rb->lcd_putsf(lbl_x_20 ,bar_grad_y, "%d", 20); - rb->lcd_putsf(lbl_x_50 ,bar_grad_y, "%d", 50); + rb->lcd_putsxyf(lbl_x_minus_50 ,bar_grad_y, "%d", -50); + rb->lcd_putsxyf(lbl_x_minus_20 ,bar_grad_y, "%d", -20); + rb->lcd_putsxyf(lbl_x_0 ,bar_grad_y, "%d", 0); + rb->lcd_putsxyf(lbl_x_20 ,bar_grad_y, "%d", 20); + rb->lcd_putsxyf(lbl_x_50 ,bar_grad_y, "%d", 50); #ifdef HAVE_LCD_COLOR rb->lcd_set_foreground(LCD_RGBPACK(255,0,0)); /* Color screens */ @@ -715,7 +715,7 @@ static void display_frequency (fixed freq) #if LCD_DEPTH > 1 rb->lcd_set_foreground(front_color); #endif - rb->lcd_putsf(0, HZ_Y, "%s : %d cents (%d.%02dHz)", + rb->lcd_putsxyf(0, HZ_Y, "%s : %d cents (%d.%02dHz)", notes[note].name, fp_round(ldf) ,fixed2int(orig_freq), fp_round(fp_mul(fp_frac(orig_freq), int2fixed(DISPLAY_HZ_PRECISION))));