From bc3b229279dbda7f721deadc044b8259af0043c3 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Thu, 14 Jan 2021 02:56:16 +0100 Subject: [PATCH] Use default font for oobe --- src/hasp_oobe.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hasp_oobe.cpp b/src/hasp_oobe.cpp index 4cdfcaad..ec2178f1 100644 --- a/src/hasp_oobe.cpp +++ b/src/hasp_oobe.cpp @@ -185,11 +185,11 @@ static void oobeSetupQR(const char * ssid, const char * pass) static void oobeSetupSsid(void) { lv_font_t * defaultfont; - #if defined(ARDUINO_ARCH_ESP32) - defaultfont = &lv_font_montserrat_12; - #else + // #if defined(ARDUINO_ARCH_ESP32) + // defaultfont = &lv_font_montserrat_12; + // #else defaultfont = LV_FONT_DEFAULT; - #endif + // #endif lv_coord_t leftmargin, topmargin, voffset; lv_align_t labelpos; @@ -261,7 +261,7 @@ static void oobeSetupSsid(void) #if LVGL_VERSION_MAJOR == 8 oobekb = lv_keyboard_create(oobepage[1]); #else - oobekb = lv_keyboard_create(oobepage[1], NULL); + oobekb = lv_keyboard_create(oobepage[1], NULL); #endif lv_obj_set_style_local_pad_inner(oobekb, LV_BTNMATRIX_PART_BG, LV_STATE_DEFAULT, 0);