summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/eve/eve_font.c')
-rw-r--r--fw/fe310/eos/eve/eve_font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fw/fe310/eos/eve/eve_font.c b/fw/fe310/eos/eve/eve_font.c
index e1e3aee..81df143 100644
--- a/fw/fe310/eos/eve/eve_font.c
+++ b/fw/fe310/eos/eve/eve_font.c
@@ -14,14 +14,14 @@ void eve_font_init(EVEFont *font, uint8_t font_id) {
eve_readb(p, font->w_ch, 128);
}
-uint8_t eve_font_ch_w(EVEFont *font, utf32_t ch) {
+uint8_t eve_font_ch_w(EVEFont *font, ucp_t ch) {
if (ch < 128) return font->w_ch[ch];
return 0;
}
uint16_t eve_font_str_w(EVEFont *font, utf8_t *str) {
uint16_t r = 0;
- utf32_t ch;
+ ucp_t ch;
uint8_t ch_w;
uint8_t ch_l;
@@ -40,7 +40,7 @@ uint16_t eve_font_str_w(EVEFont *font, utf8_t *str) {
uint16_t eve_font_buf_w(EVEFont *font, utf8_t *buf, uint16_t buf_len) {
int i = 0;
uint16_t r = 0;
- utf32_t ch;
+ ucp_t ch;
uint8_t ch_w;
uint8_t ch_l;