aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_bwfont.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-09-06 12:23:48 +1000
committerinmarket <andrewh@inmarket.com.au>2013-09-06 12:23:48 +1000
commit439426667990b90f76f759ae8f993215c16770cd (patch)
tree518654e216ba6d28934ce5b6532fc02b7fd450c2 /src/gdisp/mcufont/mf_bwfont.c
parentb53ab7adf4f04ad1da30c3a7fd7e9fecd0404d83 (diff)
downloaduGFX-439426667990b90f76f759ae8f993215c16770cd.tar.gz
uGFX-439426667990b90f76f759ae8f993215c16770cd.tar.bz2
uGFX-439426667990b90f76f759ae8f993215c16770cd.zip
Update fonts files to allow compiling without GDISP_NEED_TEXT.
Diffstat (limited to 'src/gdisp/mcufont/mf_bwfont.c')
-rw-r--r--src/gdisp/mcufont/mf_bwfont.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gdisp/mcufont/mf_bwfont.c b/src/gdisp/mcufont/mf_bwfont.c
index b185b57f..8dc88f9d 100644
--- a/src/gdisp/mcufont/mf_bwfont.c
+++ b/src/gdisp/mcufont/mf_bwfont.c
@@ -6,6 +6,9 @@
*/
#include "mf_bwfont.h"
+
+#ifndef MF_NO_COMPILE
+
#include <stdbool.h>
/* Find the character range and index that contains a given glyph.. */
@@ -139,3 +142,5 @@ uint8_t mf_bwfont_character_width(const struct mf_font_s *font,
return get_width(range, index);
}
+
+#endif //MF_NO_COMPILE