summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index e104928909..7d63cb6654 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -220,6 +220,7 @@ bool radio_hardware_present(void)
#ifdef HAVE_LCD_BITMAP
static int loaded_fonts = 0;
+static struct font _font;
int font_load(const char *path)
{
int id = 2 + loaded_fonts;
@@ -231,6 +232,11 @@ void font_unload(int font_id)
{
(void)font_id;
}
+
+struct font* font_get(int font)
+{
+ return &_font;
+}
#endif
int main(int argc, char **argv)