summaryrefslogtreecommitdiff
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r--tools/checkwps/checkwps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 7d63cb6654..fbbc564a65 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -153,6 +153,7 @@ struct system_status global_status;
153 153
154int getwidth(void) { return LCD_WIDTH; } 154int getwidth(void) { return LCD_WIDTH; }
155int getheight(void) { return LCD_HEIGHT; } 155int getheight(void) { return LCD_HEIGHT; }
156int getuifont(void) { return 0; }
156#ifdef HAVE_REMOTE_LCD 157#ifdef HAVE_REMOTE_LCD
157int remote_getwidth(void) { return LCD_REMOTE_WIDTH; } 158int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
158int remote_getheight(void) { return LCD_REMOTE_HEIGHT; } 159int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
@@ -177,6 +178,7 @@ struct screen screens[NB_SCREENS] =
177#endif 178#endif
178 .getwidth = getwidth, 179 .getwidth = getwidth,
179 .getheight = getheight, 180 .getheight = getheight,
181 .getuifont = getuifont,
180#if LCD_DEPTH > 1 182#if LCD_DEPTH > 1
181 .get_foreground=dummy_func2, 183 .get_foreground=dummy_func2,
182 .get_background=dummy_func2, 184 .get_background=dummy_func2,
@@ -189,6 +191,7 @@ struct screen screens[NB_SCREENS] =
189 .lcdwidth=LCD_REMOTE_WIDTH, 191 .lcdwidth=LCD_REMOTE_WIDTH,
190 .lcdheight=LCD_REMOTE_HEIGHT, 192 .lcdheight=LCD_REMOTE_HEIGHT,
191 .depth=LCD_REMOTE_DEPTH, 193 .depth=LCD_REMOTE_DEPTH,
194 .getuifont = getuifont;
192 .is_color=false,/* No color remotes yet */ 195 .is_color=false,/* No color remotes yet */
193 .getwidth=remote_getwidth, 196 .getwidth=remote_getwidth,
194 .getheight=remote_getheight, 197 .getheight=remote_getheight,