aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp/mcufont/mf_encoding.c')
-rw-r--r--src/gdisp/mcufont/mf_encoding.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gdisp/mcufont/mf_encoding.c b/src/gdisp/mcufont/mf_encoding.c
index f736651b..2c8abf3a 100644
--- a/src/gdisp/mcufont/mf_encoding.c
+++ b/src/gdisp/mcufont/mf_encoding.c
@@ -73,4 +73,14 @@ void mf_rewind(mf_str *str)
(*str)--;
}
+#else
+
+mf_char mf_getchar(mf_str *str) {
+ return *(*str)++;
+}
+
+void mf_rewind(mf_str *str) {
+ (*str)--;
+}
+
#endif