forked from len0rd/rockbox
Added lcd_putc()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c3a1bd2fce
commit
3d641c92a5
3 changed files with 15 additions and 0 deletions
|
|
@ -420,6 +420,12 @@ void lcd_puts(int x, int y, unsigned char *string)
|
||||||
lcd_write(false,lcd_ascii[*(unsigned char*)string++]);
|
lcd_write(false,lcd_ascii[*(unsigned char*)string++]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void lcd_putc(int x, int y, unsigned char ch)
|
||||||
|
{
|
||||||
|
lcd_write(true,LCD_CURSOR(x,y));
|
||||||
|
lcd_write(false,lcd_ascii[ch]);
|
||||||
|
}
|
||||||
|
|
||||||
void lcd_define_pattern (int which,char *pattern,int length)
|
void lcd_define_pattern (int which,char *pattern,int length)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ extern void lcd_init(void);
|
||||||
extern void lcd_clear_display(void);
|
extern void lcd_clear_display(void);
|
||||||
extern void lcd_backlight(bool on);
|
extern void lcd_backlight(bool on);
|
||||||
extern void lcd_puts(int x, int y, unsigned char *string);
|
extern void lcd_puts(int x, int y, unsigned char *string);
|
||||||
|
extern void lcd_putc(int x, int y, unsigned char ch);
|
||||||
extern void lcd_scroll_pause(void);
|
extern void lcd_scroll_pause(void);
|
||||||
extern void lcd_scroll_resume(void);
|
extern void lcd_scroll_resume(void);
|
||||||
extern void lcd_puts_scroll(int x, int y, unsigned char* string );
|
extern void lcd_puts_scroll(int x, int y, unsigned char* string );
|
||||||
|
|
|
||||||
|
|
@ -111,3 +111,11 @@ void lcd_define_pattern (int which,char *pattern,int length)
|
||||||
(void)pattern;
|
(void)pattern;
|
||||||
(void)length;
|
(void)length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void lcd_putc(int x, int y, unsigned char ch)
|
||||||
|
{
|
||||||
|
(void)x;
|
||||||
|
(void)y;
|
||||||
|
(void)ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue