Skip to content
Snippets Groups Projects
Commit 072f210a authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Anatolij Gustschin
Browse files

lcd: remove unused lcd_puts_xy


prevents a clang warning that the function is
never used.

cc: agust@denx.de
Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent e6e9cff2
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,6 @@ ...@@ -110,7 +110,6 @@
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
static void lcd_drawchars(ushort x, ushort y, uchar *str, int count); 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 inline void lcd_putc_xy(ushort x, ushort y, uchar c);
static int lcd_init(void *lcdbase); static int lcd_init(void *lcdbase);
...@@ -373,15 +372,6 @@ static void lcd_drawchars(ushort x, ushort y, uchar *str, int count) ...@@ -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) static inline void lcd_putc_xy(ushort x, ushort y, uchar c)
{ {
lcd_drawchars(x, y, &c, 1); lcd_drawchars(x, y, &c, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment