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_lcd_font.c | |
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_lcd_font.c')
-rw-r--r-- | src/stm/ao_lcd_font.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stm/ao_lcd_font.c b/src/stm/ao_lcd_font.c index b1664b13..6c5ea5c2 100644 --- a/src/stm/ao_lcd_font.c +++ b/src/stm/ao_lcd_font.c @@ -17,9 +17,10 @@ */ #include <ao.h> +#include "ao_lcd_font.h" static const uint16_t ao_lcd_font[] = { -#include "ao_lcd_font.h" +#include "ao_lcd_font_bits.h" }; /* @@ -116,7 +117,7 @@ ao_lcd_font_text(void) ao_lcd_font_string(string); } -const struct ao_cmds ao_lcd_font_cmds[] = { +static const struct ao_cmds ao_lcd_font_cmds[] = { { ao_lcd_font_text, "t <string>\0Write <string> to LCD" }, { 0, NULL } }; @@ -126,4 +127,3 @@ ao_lcd_font_init(void) { ao_cmd_register(ao_lcd_font_cmds); } - |