diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd.c | 6 | ||||
-rw-r--r-- | firmware/drivers/lcd.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 4bdecd41f5..03f667acfa 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -420,6 +420,12 @@ void lcd_puts(int x, int y, 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) { int i; diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 1e623a7d09..ac7a7d505b 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -29,6 +29,7 @@ extern void lcd_init(void); extern void lcd_clear_display(void); extern void lcd_backlight(bool on); 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_resume(void); extern void lcd_puts_scroll(int x, int y, unsigned char* string ); |