diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-18 10:38:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
commit | a43bc96ad4a524480a2d47500fb0cfaeeba8ad3d (patch) | |
tree | 498410f1df2875ba701f3cdba94109efe1de26c4 /src/stm/ao-parse-font.5c | |
parent | ebb8ab6a2f5f1245098ad68d0cd007d3f115a24d (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao-parse-font.5c')
-rw-r--r-- | src/stm/ao-parse-font.5c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |