diff options
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r-- | tools/checkwps/checkwps.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 39d4358320..e104928909 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c @@ -149,6 +149,8 @@ struct user_settings global_settings = { #endif }; +struct system_status global_status; + int getwidth(void) { return LCD_WIDTH; } int getheight(void) { return LCD_HEIGHT; } #ifdef HAVE_REMOTE_LCD @@ -218,9 +220,9 @@ bool radio_hardware_present(void) #ifdef HAVE_LCD_BITMAP static int loaded_fonts = 0; -int font_load(struct font* pf, const char *path) +int font_load(const char *path) { - int id = SYSTEMFONTCOUNT + loaded_fonts; + int id = 2 + loaded_fonts; loaded_fonts++; return id; } @@ -273,9 +275,6 @@ int main(int argc, char **argv) } skin_buffer_init(buffer, SKIN_BUFFER_SIZE); -#ifdef HAVE_LCD_BITMAP - skin_font_init(); -#endif /* Go through every skin that was thrown at us, error out at the first * flawed wps */ |