aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_wordwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp/mcufont/mf_wordwrap.c')
-rw-r--r--src/gdisp/mcufont/mf_wordwrap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gdisp/mcufont/mf_wordwrap.c b/src/gdisp/mcufont/mf_wordwrap.c
index ebf3a537..ee57ee99 100644
--- a/src/gdisp/mcufont/mf_wordwrap.c
+++ b/src/gdisp/mcufont/mf_wordwrap.c
@@ -7,6 +7,8 @@
#include "mf_wordwrap.h"
+#ifndef MF_NO_COMPILE
+
/* Returns true if the line can be broken at this character. */
static bool is_wrap_space(uint16_t c)
{
@@ -294,3 +296,5 @@ void mf_wordwrap(const struct mf_font_s *font, int16_t width,
}
#endif
+
+#endif //MF_NO_COMPILE