From 7f9d71363a8f7d179af2495746f3916cb8d020f7 Mon Sep 17 00:00:00 2001 From: Kjell Ericson Date: Wed, 22 Jan 2003 12:16:14 +0000 Subject: Changed name of lcd_do_puts() to lcd_puts_cont_scroll(). It is still just an local function, but it's a more describing name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3148 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-player.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'firmware/drivers/lcd-player.c') diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c index 29639fc64e..189cb0e899 100644 --- a/firmware/drivers/lcd-player.c +++ b/firmware/drivers/lcd-player.c @@ -271,10 +271,10 @@ void lcd_clear_display(void) xlcd_update(); } -static void lcd_do_puts(int x, int y, unsigned char *string) +static void lcd_puts_cont_scroll(int x, int y, unsigned char *string) { bool update=false; - DEBUGF("lcd_do_puts(%d, %d, \"", x, y); + DEBUGF("lcd_puts_cont_scroll(%d, %d, \"", x, y); for (; *string && x<11; x++) { @@ -296,9 +296,9 @@ static void lcd_do_puts(int x, int y, unsigned char *string) } void lcd_puts(int x, int y, unsigned char *string) { - DEBUGF("lcd_puts(%d, %d)", x, y); + DEBUGF("lcd_puts(%d, %d) -> ", x, y); scroll[y].mode=SCROLL_MODE_OFF; - return lcd_do_puts(x, y, string); + return lcd_puts_cont_scroll(x, y, string); } void lcd_putc(int x, int y, unsigned short ch) @@ -463,7 +463,7 @@ void lcd_puts_scroll(int x, int y, unsigned char* string ) s = &scroll[y]; - lcd_do_puts(x,y,string); + lcd_puts_cont_scroll(x,y,string); s->textlen = strlen(string); if ( s->textlen > 11-x ) { @@ -629,7 +629,7 @@ static void scroll_thread(void) buffer[i++]=s->text[o++]; } buffer[11]=0; - lcd_do_puts(s->startx, s->starty, buffer); + lcd_puts_cont_scroll(s->startx, s->starty, buffer); } } -- cgit v1.2.3