From a43bc96ad4a524480a2d47500fb0cfaeeba8ad3d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Feb 2019 10:38:21 -0800 Subject: stm: Expose LCD font API in ao_lcd_font.h That required renaming the existing LCD font defintions from ao_lcd_font.h to ao_lcd_font_bits.h. Signed-off-by: Keith Packard --- src/stm/ao-parse-font.5c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stm/ao-parse-font.5c') diff --git a/src/stm/ao-parse-font.5c b/src/stm/ao-parse-font.5c index fe785854..152d4e83 100644 --- a/src/stm/ao-parse-font.5c +++ b/src/stm/ao-parse-font.5c @@ -154,13 +154,13 @@ glyph[*] read_font(file f) { glyph[*] font; void init () { - twixt (file f = File::open("ao_lcd_font.h", "r"); File::close(f)) { + twixt (file f = File::open("ao_lcd_font_bits.h", "r"); File::close(f)) { font = read_font(f); } } void dump() { - twixt(file f = File::open("ao_lcd_font.h.new", "w"); File::close(f)) { + twixt(file f = File::open("ao_lcd_font_bits.h.new", "w"); File::close(f)) { for (int i = 0; i < dim(font); i++) { File::fprintf (f, "\t[%d] = 0x%04x,\n", i, glyph_value(font[i])); File::fprintf (f, "/*\n"); -- cgit v1.2.3