aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_kerning.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp/mcufont/mf_kerning.h')
-rw-r--r--src/gdisp/mcufont/mf_kerning.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gdisp/mcufont/mf_kerning.h b/src/gdisp/mcufont/mf_kerning.h
index 1014c8dd..043265c7 100644
--- a/src/gdisp/mcufont/mf_kerning.h
+++ b/src/gdisp/mcufont/mf_kerning.h
@@ -28,9 +28,7 @@
MF_EXTERN int8_t mf_compute_kerning(const struct mf_font_s *font,
mf_char c1, mf_char c2);
#else
-static int8_t mf_compute_kerning(const struct mf_font_s *font,
- mf_char c1, mf_char c2)
-{ return 0; }
+#define mf_compute_kerning(font, c1, c2) 0
#endif
-#endif \ No newline at end of file
+#endif