diff options
author | Keith Packard <keithp@keithp.com> | 2012-03-23 00:04:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-03-28 21:37:04 -0700 |
commit | 9b5e98a3407b369803109bfc1409e4f8b6e848ba (patch) | |
tree | 995951fdc0904665b45b8209ffa47c03205fa04e /src | |
parent | 6337b5f522be11926a6490d7bb27a4f7795da569 (diff) |
Flush LCD changes each time the text is updated
Rather than requiring the caller to do it.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/stm/ao_lcd_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_lcd_font.c b/src/stm/ao_lcd_font.c index 2bd787ed..0d7d87c1 100644 --- a/src/stm/ao_lcd_font.c +++ b/src/stm/ao_lcd_font.c @@ -98,6 +98,7 @@ ao_lcd_font_string(char *s) { } while (pos < 6) ao_lcd_font_char(pos++, ' ', 0); + stm_lcd.sr = (1 << STM_LCD_SR_UDR); } static void @@ -112,7 +113,6 @@ ao_lcd_font_text(void) } string[c++] = '\0'; ao_lcd_font_string(string); - stm_lcd.sr = (1 << STM_LCD_SR_UDR); } const struct ao_cmds ao_lcd_font_cmds[] = { |