|
|
|
@ -110,7 +110,6 @@ |
|
|
|
|
DECLARE_GLOBAL_DATA_PTR; |
|
|
|
|
|
|
|
|
|
static void lcd_drawchars(ushort x, ushort y, uchar *str, int count); |
|
|
|
|
static inline void lcd_puts_xy(ushort x, ushort y, uchar *s); |
|
|
|
|
static inline void lcd_putc_xy(ushort x, ushort y, uchar c); |
|
|
|
|
|
|
|
|
|
static int lcd_init(void *lcdbase); |
|
|
|
@ -373,15 +372,6 @@ static void lcd_drawchars(ushort x, ushort y, uchar *str, int count) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------*/ |
|
|
|
|
|
|
|
|
|
static inline void lcd_puts_xy(ushort x, ushort y, uchar *s) |
|
|
|
|
{ |
|
|
|
|
lcd_drawchars(x, y, s, strlen((char *)s)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------*/ |
|
|
|
|
|
|
|
|
|
static inline void lcd_putc_xy(ushort x, ushort y, uchar c) |
|
|
|
|
{ |
|
|
|
|
lcd_drawchars(x, y, &c, 1); |
|
|
|
|